Test if fzf command is available
This commit is contained in:
parent
4e7da05f23
commit
13179aba13
6
zshrc
6
zshrc
|
@ -2054,8 +2054,8 @@ setopt extendedglob
|
|||
############### 9. Modules ################
|
||||
###########################################
|
||||
|
||||
## IF fzf AVAILABLE
|
||||
if [ -d ~/.fzf ]; then
|
||||
## IF fzf is AVAILABLE
|
||||
if [ $(command -v fzf) ]; then
|
||||
|
||||
## If local fzf bin is available use it in priority
|
||||
if [[ ! "$PATH" == *"${HOME}"/.fzf/bin* ]]; then
|
||||
|
@ -2540,7 +2540,7 @@ function passf() {
|
|||
# }}}
|
||||
|
||||
fi
|
||||
## ENDIF fzf AVAILABLE
|
||||
## ENDIF fzf is AVAILABLE
|
||||
|
||||
# }}}
|
||||
# zsh-syntax-highlighting {{{
|
||||
|
|
Loading…
Reference in New Issue