This commit is contained in:
Squibid 2025-11-23 17:31:47 -05:00
parent 8537a9a127
commit 1a764d6a14
Signed by: squibid
GPG key ID: BECE5684D3C4005D
9 changed files with 332 additions and 329 deletions

View file

@ -1,22 +1,22 @@
#compdef wom
_arguments \
'1:flag:->flags' \
'*:: :->args'
'1:flag:->flags' \
'*:: :->args'
case "$state" in
flags)
local -a opts
opts=(
'-c:Path to config file'
'-v:Show version and exit'
'-h:Show help text'
flags)
local -a opts
opts=(
'-c:Path to config file'
'-v:Show version and exit'
'-h:Show help text'
$(wom subcmds)
)
_describe 'flags' opts
;;
)
_describe 'flags' opts
;;
args)
case $line[1] in
-c) _files ;;
esac
case $line[1] in
-c) _files ;;
esac
esac