diff --git a/scripts/wireguard/bash-completion b/scripts/wireguard/bash-completion index 2c18f9d..c25a0ec 100644 --- a/scripts/wireguard/bash-completion +++ b/scripts/wireguard/bash-completion @@ -9,9 +9,9 @@ _pivpn() if [ "${#COMP_WORDS[@]}" -eq 2 ] then if [[ ${cur} == -* ]] ; then - COMPREPLY=( $(compgen -W "${dashopts}" -- "${cur}") ) + COMPREPLY=( "$(compgen -W "${dashopts}" -- "${cur}")" ) else - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + COMPREPLY=( "$(compgen -W "${opts}" -- "${cur}")" ) fi fi return 0