mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
completions: fix wg-quick interface completions
wg outputs space separated list
(cherry picked from commit 28d9f1878d)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user