mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-06 01:58:46 +00:00
Fix variable leaking in completion kill
(cherry picked from commit ff29d81532
)
This commit is contained in:
parent
6ec62e3934
commit
fb84c137b5
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
__fish_make_completion_signals
|
||||
|
||||
for sig in $__kill_signals[-1..1]
|
||||
set number (string split ' ' $sig)[1]
|
||||
set name (string split ' ' $sig)[2]
|
||||
set -l number (string split ' ' $sig)[1]
|
||||
set -l name (string split ' ' $sig)[2]
|
||||
complete -c kill -o $number -d $name
|
||||
complete -c kill -o $name -d $number
|
||||
complete -c kill -k -s s -x -a "$name\t$number"
|
||||
|
|
Loading…
Reference in a new issue