mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 14:17:40 +00:00
Check before sourcing, no longer need to remove
This commit is contained in:
parent
77592825f0
commit
990fa00660
2
install
2
install
@ -353,7 +353,7 @@ append_line() {
|
||||
|
||||
echo
|
||||
for shell in bash zsh; do
|
||||
append_line "source ~/.fzf.${shell}" ~/.${shell}rc "~/.fzf.${shell}"
|
||||
append_line "[ -f ~/.fzf.${shell} ] && source ~/.fzf.${shell}" ~/.${shell}rc "~/.fzf.${shell}"
|
||||
done
|
||||
|
||||
if [ $key_bindings -eq 0 -a $has_fish -eq 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user