diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2022-07-21 22:16:19 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-07-21 22:21:11 +0900 |
| commit | 52594355bfa63ce7d579c7961f4f2fb30b486101 (patch) | |
| tree | 7656923b18f295f7ab30e5fcb06f0c944aff68ce /shell/completion.zsh | |
| parent | 0d06c28b1943e820440cff9182a0ae3bdd5e3c59 (diff) | |
| download | fzf-52594355bfa63ce7d579c7961f4f2fb30b486101.tar.gz | |
[shell] 'kill' completion will now require trigger sequence (**)
'kill **<tab>' instead of 'kill <tab>' just like any other completions.
Close #2716
Close #385
Diffstat (limited to 'shell/completion.zsh')
| -rw-r--r-- | shell/completion.zsh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/shell/completion.zsh b/shell/completion.zsh index f12afca1..2577eacb 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -285,12 +285,6 @@ fzf-completion() { lbuf=$LBUFFER tail=${LBUFFER:$(( ${#LBUFFER} - ${#trigger} ))} - # Kill completion (do not require trigger sequence) - if [ "$cmd" = kill -a ${LBUFFER[-1]} = ' ' ]; then - tail=$trigger - tokens+=$trigger - lbuf="$lbuf$trigger" - fi # Trigger sequence given if [ ${#tokens} -gt 1 -a "$tail" = "$trigger" ]; then |
