mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 22:14:53 +00:00
completions/pkill: use locals.
This commit is contained in:
parent
4fab9e525a
commit
7c5777a82a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
__fish_complete_pgrep pkill
|
__fish_complete_pgrep pkill
|
||||||
__fish_make_completion_signals
|
__fish_make_completion_signals
|
||||||
for i in $__kill_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 $number -d $name
|
||||||
complete -c pkill -o $name -d $name
|
complete -c pkill -o $name -d $name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue