Add fzf in PATH before testing if it's available
This commit is contained in:
parent
89bdb4bcbb
commit
e1e31b0e56
6
zshrc
6
zshrc
|
@ -2055,14 +2055,14 @@ setopt extendedglob
|
|||
############### 9. Modules ################
|
||||
###########################################
|
||||
|
||||
## 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
|
||||
export PATH="${HOME}/.fzf/bin:${PATH}"
|
||||
fi
|
||||
|
||||
## IF fzf is AVAILABLE
|
||||
if [ $(command -v fzf) ]; then
|
||||
|
||||
## IF fd is AVAILABLE {{{
|
||||
if [ -f ~/bin/fd ] ||
|
||||
[ -f /bin/fd ] ||
|
||||
|
|
Loading…
Reference in New Issue