completions/pkill: use locals.

This commit is contained in:
Charlotte 2023-09-27 20:33:42 +10:00 committed by Fabian Boehm
parent 4fab9e525a
commit 7c5777a82a

View file

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