completions: fix wg-quick interface completions

wg outputs space separated list
This commit is contained in:
Jason Nader 2024-01-27 19:02:58 +09:00 committed by Fabian Boehm
parent 5f459446a8
commit 28d9f1878d

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