mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00: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 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
set -l valid_subcmds up down strip save
|
set -l valid_subcmds up down strip save
|
||||||
|
|
||||||
function __fish_wg_complete_interfaces
|
function __fish_wg_complete_interfaces
|
||||||
wg show interfaces
|
wg show interfaces | string split " "
|
||||||
end
|
end
|
||||||
|
|
||||||
complete -c wg-quick -f
|
complete -c wg-quick -f
|
||||||
|
|
Loading…
Reference in a new issue