completions: fix wg-quick interface completions

wg outputs space separated list

(cherry picked from commit 28d9f1878d)
This commit is contained in:
Jason Nader 2024-01-27 19:02:58 +09:00 committed by David Adam
parent baf5102797
commit d655f40d43

View File

@ -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