summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-04-18 02:51:02 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-04-18 02:51:02 +0900
commit6e464ebd9b0cc4afadf460458fa0cd80915ea419 (patch)
tree5d5a9542384a0eaba98e0ab6b7f255413dc9adbe /shell
parentc329279339a5f49020f6cb43c714d54e68424700 (diff)
Remove dead code
Diffstat (limited to 'shell')
-rw-r--r--shell/completion.bash5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/completion.bash b/shell/completion.bash
index fcae37a2..3f6161df 100644
--- a/shell/completion.bash
+++ b/shell/completion.bash
@@ -304,11 +304,10 @@ a_cmds="
find git grep gunzip gzip hg jar
ln ls mv open rm rsync scp
svn tar unzip zip"
-x_cmds="kill"
# Preserve existing completion
eval "$(complete |
- sed -E '/-F/!d; / _fzf/d; '"/ ($(echo $d_cmds $a_cmds $x_cmds | sed 's/ /|/g; s/+/\\+/g'))$/"'!d' |
+ sed -E '/-F/!d; / _fzf/d; '"/ ($(echo $d_cmds $a_cmds | sed 's/ /|/g; s/+/\\+/g'))$/"'!d' |
__fzf_orig_completion_filter)"
if type _completion_loader > /dev/null 2>&1; then
@@ -343,7 +342,7 @@ done
# Kill completion (supports empty completion trigger)
complete -F _fzf_complete_kill -o default -o bashdefault kill
-unset cmd d_cmds a_cmds x_cmds
+unset cmd d_cmds a_cmds
_fzf_setup_completion() {
local kind fn cmd