Archived
1
0

Add status command

This commit is contained in:
2025-08-24 04:41:17 +02:00
parent b95b557fc1
commit 412744520e
2 changed files with 23 additions and 6 deletions

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