mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +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…
x
Reference in New Issue
Block a user