Add status command
This commit is contained in:
1 parent
b95b557fc1
commit
412744520e
2 files changed
+23
-6
No files matched your search
@@ -5,7 +5,7 @@ _ssh-proxy() {
|
||||
local cur prev words cword args
|
||||
_init_completion || return
|
||||
|
||||
local -r cmdargs="start stop"
|
||||
local -r cmdargs="status start stop"
|
||||
local -r cnfargs="--help"
|
||||
local profiledir=~/.config/ssh-proxy
|
||||
local tempdir="/tmp/ssh-proxy-${USER}"
|
||||
@@ -30,6 +30,9 @@ _ssh-proxy() {
|
||||
--help)
|
||||
return
|
||||
;;
|
||||
status)
|
||||
return
|
||||
;;
|
||||
start)
|
||||
local -r PROFILELIST=$(\ls ${profiledir})
|
||||
# shellcheck disable=SC2207
|
||||
|
||||
Reference in new issue
Block a user