fish-shell/share/completions/pkill.fish
2024-02-27 16:25:01 +01:00

8 lines
204 B
Fish

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