Use local fzf first if available
This commit is contained in:
parent
cd995ddb03
commit
da2300b6da
3
zshrc
3
zshrc
|
@ -1919,8 +1919,9 @@ setopt extendedglob
|
||||||
## fzf
|
## fzf
|
||||||
if [ -d ~/.fzf ]; then
|
if [ -d ~/.fzf ]; then
|
||||||
|
|
||||||
|
## If local fzf bin is available use it in priority
|
||||||
if [[ ! "$PATH" == *"${HOME}"/.fzf/bin* ]]; then
|
if [[ ! "$PATH" == *"${HOME}"/.fzf/bin* ]]; then
|
||||||
export PATH="$PATH:${HOME}/.fzf/bin"
|
export PATH="${HOME}/.fzf/bin:${PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f ~/bin/fd ]; then
|
if [ -f ~/bin/fd ]; then
|
||||||
|
|
Loading…
Reference in New Issue