Add status command

This commit is contained in:
matmoul committed 2025-08-24 04:41:17 +02:00
1 parent b95b557fc1
commit 412744520e
2 files changed
+23 -6

No files matched your search

+4 -1
View File
@@ -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