mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 00:14:57 +08:00
completions/kill: Offer -SIGNAME
E.g. "kill -HUP".
This commit is contained in:
parent
1480865d52
commit
4e931fd967
@ -4,6 +4,7 @@ for sig in $__kill_signals[-1..1]
|
||||
set number (string split ' ' $sig)[1]
|
||||
set 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"
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user