mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 04:22:55 +08:00
10 lines
255 B
Fish
10 lines
255 B
Fish
|
|
||
|
__fish_complete_pgrep pkill
|
||
|
__fish_make_completion_signals
|
||
|
for i in $__kill_signals
|
||
|
set number (echo $i | cut -d " " -f 1)
|
||
|
set name (echo $i | cut -d " " -f 2)
|
||
|
complete -c pkill -o $number -d $name
|
||
|
complete -c pkill -o $name -d $name
|
||
|
end
|