mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51: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
|
||||
|
||||
function __fish_wg_complete_interfaces
|
||||
wg show interfaces
|
||||
wg show interfaces | string split " "
|
||||
end
|
||||
|
||||
complete -c wg-quick -f
|
||||
|
||||
Reference in New Issue
Block a user