mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00:00
Check before sourcing, no longer need to remove
This commit is contained in:
1 parent
77592825f0
commit
990fa00660
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user