Scripts to make it easier to use MullvadVPN on Gentoo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
404 B

#! /bin/bash
_vpn_completions()
{
if [ "${COMP_CWORD}" -ge "3" ]; then
return
fi
if [ "${COMP_CWORD}" -eq 1 ]; then
COMPREPLY=($(compgen -W "connect disconnect switch reconnect" "${COMP_WORDS[1]}"))
elif [ "${COMP_CWORD}" -eq 2 ]; then
COMPREPLY=($(compgen -W "at au be bg br ca ch cz de dk ee es fi fr gb hk hu ie it jp lu lv md mk nl no nz pl pt ro rs se sg us" "${COMP_WORDS[1]}"))
fi
}