2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-01 06:43:39 +00:00
fish-shell/share/completions/pkill.fish

8 lines
204 B
Fish
Raw Normal View History

__fish_complete_pgrep pkill
__fish_make_completion_signals
for i in $__kill_signals
2023-09-27 10:33:42 +00:00
echo $i | read -l number name
complete -c pkill -o $number -d $name
complete -c pkill -o $name -d $name
end