Test different fd bin path
This commit is contained in:
parent
13179aba13
commit
9c49c7b29b
6
zshrc
6
zshrc
|
@ -2062,9 +2062,13 @@ if [[ ! "$PATH" == *"${HOME}"/.fzf/bin* ]]; then
|
|||
export PATH="${HOME}/.fzf/bin:${PATH}"
|
||||
fi
|
||||
|
||||
if [ -f ~/bin/fd ]; then
|
||||
## IF fd is AVAILABLE {{{
|
||||
if [ -f ~/bin/fd ] ||
|
||||
[ -f /bin/fd ] ||
|
||||
[ -f /usr/bin/fd ]; then
|
||||
export FZF_DEFAULT_COMMAND='fd --type f'
|
||||
fi
|
||||
## }}}
|
||||
|
||||
autoload is-at-least
|
||||
if is-at-least 0.29.0 $(fzf --version); then
|
||||
|
|
Loading…
Reference in New Issue