2011-09-23 16:24:21 +08:00
|
|
|
__fish_make_completion_signals
|
2005-09-20 21:31:55 +08:00
|
|
|
|
2011-09-23 16:24:21 +08:00
|
|
|
for i in $__kill_signals
|
2006-12-13 04:37:27 +08:00
|
|
|
set number (echo $i | cut -d " " -f 1)
|
|
|
|
set name (echo $i | cut -d " " -f 2)
|
2006-12-01 00:32:30 +08:00
|
|
|
complete -c kill -o $number -d $name
|
|
|
|
complete -c kill -o $name -d $name
|
|
|
|
complete -c kill -o s -x -a \"$number\tSend\ $name\ signal\"
|
2012-11-18 18:23:22 +08:00
|
|
|
complete -c kill -o s -x -a \"$name\tSend\ $name\ signal\"
|
2006-12-01 00:32:30 +08:00
|
|
|
end
|
|
|
|
|
2005-11-03 00:49:13 +08:00
|
|
|
complete -c kill -xa '(__fish_complete_pids)'
|
2005-09-20 21:31:55 +08:00
|
|
|
|