Bug: completeion profile
This commit is contained in:
parent
5684cd3a54
commit
87653b7e27
@ -29,7 +29,7 @@ _mtm-ssh-vpn() {
|
||||
case $prev in
|
||||
--help | status | disconnect_all) return;;
|
||||
connect)
|
||||
local -r PROFILELIST=$(\ls "${PROFILE_DIR}")
|
||||
local -r PROFILELIST=$(\ls "${PROFILE_DIR}/profiles")
|
||||
# shellcheck disable=SC2207
|
||||
COMPREPLY=($(compgen -W "${PROFILELIST}" -- "${COMP_WORDS[COMP_CWORD]}"))
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user