mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
completions/pkill: use locals.
This commit is contained in:
parent
4fab9e525a
commit
7c5777a82a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user