mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
completions: fix wg-quick interface completions
wg outputs space separated list
(cherry picked from commit 28d9f1878d
)
This commit is contained in:
parent
baf5102797
commit
d655f40d43
|
@ -1,7 +1,7 @@
|
|||
set -l valid_subcmds up down strip save
|
||||
|
||||
function __fish_wg_complete_interfaces
|
||||
wg show interfaces
|
||||
wg show interfaces | string split " "
|
||||
end
|
||||
|
||||
complete -c wg-quick -f
|
||||
|
|
Loading…
Reference in New Issue
Block a user