completions/pkill: use locals.

(cherry picked from commit 7c5777a82a)
This commit is contained in:
Charlotte 2023-09-27 20:33:42 +10:00 committed by Fabian Boehm
parent 9ea7465ab4
commit 3027bc355b

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