summaryrefslogtreecommitdiffstats
path: root/uninstall
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-03-13 23:59:34 +0900
committerGitHub <noreply@github.com>2024-03-13 23:59:34 +0900
commite74b1251c0f579335e03b3e7182cd7a9f88dbe37 (patch)
tree635d9bd3d4be38ca5623b8ce7241c2674c01b532 /uninstall
parentd282a1649d7d953f028306f13d6616958f3fd1f3 (diff)
Embed shell integration scripts in fzf binary (`--bash` / `--zsh` / `--fish`) (#3675)
This simplifies the distribution, and the users are less likely to have problems caused by using incompatible scripts and binaries. # Set up fzf key bindings and fuzzy completion eval "$(fzf --bash)" # Set up fzf key bindings and fuzzy completion eval "$(fzf --zsh)" # Set up fzf key bindings fzf --fish | source
Diffstat (limited to 'uninstall')
-rwxr-xr-xuninstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/uninstall b/uninstall
index 4e587211..1d338cb4 100755
--- a/uninstall
+++ b/uninstall
@@ -94,6 +94,7 @@ done
bind_file="${fish_dir}/functions/fish_user_key_bindings.fish"
if [ -f "$bind_file" ]; then
remove_line "$bind_file" "fzf_key_bindings"
+ remove_line "$bind_file" "fzf --fish | source"
fi
if [ -d "${fish_dir}/functions" ]; then