fish-shell/share/completions/pkill.fish

9 lines
202 B
Fish
Raw Normal View History

__fish_complete_pgrep pkill
__fish_make_completion_signals
for i in $__kill_signals
echo $i | read number name
complete -c pkill -o $number -d $name
complete -c pkill -o $name -d $name
end