Better handling of lsb_release.

This commit is contained in:
Bartek Stalewski 2023-05-07 15:29:23 +02:00
parent 808874a1f9
commit 320f86a544
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
if [[ $(command -v fzf) ]]; then
case $(lsb_release -i | awk '{print $3}') in
case $(lsb_release -si) in
Gentoo) source /usr/share/zsh/site-functions/_fzf ;;
VoidLinux) source /usr/share/fzf/completion.zsh ;;
esac