Use fzf if installed on the system
This commit is contained in:
parent
0594f6372e
commit
d226434f42
1 changed files with 5 additions and 1 deletions
6
.bashrc
6
.bashrc
|
|
@ -99,4 +99,8 @@ if [ -f ~/.mybashrc ]; then
|
|||
. ~/.mybashrc
|
||||
fi
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
if which fzf > /dev/null; then
|
||||
eval "$(fzf --bash)"
|
||||
elif [ -f ~/.fzf.bash ]; then
|
||||
source ~/.fzf.bash
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue