From 3027bc355bdf740f361aef10c16df463ad254532 Mon Sep 17 00:00:00 2001 From: Charlotte Date: Wed, 27 Sep 2023 20:33:42 +1000 Subject: [PATCH] completions/pkill: use locals. (cherry picked from commit 7c5777a82a3f78ce0b6256d163727b20d2bf0d0d) --- share/completions/pkill.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/pkill.fish b/share/completions/pkill.fish index 00e350b94..8aa5538e3 100644 --- a/share/completions/pkill.fish +++ b/share/completions/pkill.fish @@ -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