mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
completions: fix wg-quick interface completions
wg outputs space separated list
This commit is contained in:
parent
5f459446a8
commit
28d9f1878d
|
@ -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