Skip to content

Commit

Permalink
[install] Remove code that might delete user fish script
Browse files Browse the repository at this point in the history
Fix #2703
junegunn committed Jan 5, 2022

Verified

This commit was signed with the committer’s verified signature.
junegunn Junegunn Choi
1 parent f68cbc5 commit 9cb7a36
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions install
Original file line number Diff line number Diff line change
@@ -280,11 +280,6 @@ EOF
[ $? -eq 0 ] && echo "OK" || echo "Failed"

mkdir -p "${fish_dir}/functions"
if [ -e "${fish_dir}/functions/fzf.fish" ]; then
echo -n "Remove unnecessary ${fish_dir}/functions/fzf.fish ... "
rm -f "${fish_dir}/functions/fzf.fish" && echo "OK" || echo "Failed"
fi

fish_binding="${fish_dir}/functions/fzf_key_bindings.fish"
if [ $key_bindings -ne 0 ]; then
echo -n "Symlink $fish_binding ... "

0 comments on commit 9cb7a36

Please sign in to comment.