Switch to proper if statements.

This commit is contained in:
Bartek Stalewski 2023-05-03 01:34:27 +02:00
parent a94de99041
commit e58497ec55
3 changed files with 42 additions and 12 deletions

View file

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