Compare commits
1 Commits
0.0.1
...
87653b7e27
| Author | SHA1 | Date | |
|---|---|---|---|
| 87653b7e27 |
@@ -29,7 +29,7 @@ _mtm-ssh-vpn() {
|
|||||||
case $prev in
|
case $prev in
|
||||||
--help | status | disconnect_all) return;;
|
--help | status | disconnect_all) return;;
|
||||||
connect)
|
connect)
|
||||||
local -r PROFILELIST=$(\ls "${PROFILE_DIR}")
|
local -r PROFILELIST=$(\ls "${PROFILE_DIR}/profiles")
|
||||||
# shellcheck disable=SC2207
|
# shellcheck disable=SC2207
|
||||||
COMPREPLY=($(compgen -W "${PROFILELIST}" -- "${COMP_WORDS[COMP_CWORD]}"))
|
COMPREPLY=($(compgen -W "${PROFILELIST}" -- "${COMP_WORDS[COMP_CWORD]}"))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user