Added alternate command versions

This commit is contained in:
Michael Bøcker-Larsen 2015-11-04 01:07:57 +05:45
parent 2120573783
commit 8f5aaa256f

View File

@ -29,14 +29,17 @@ _desk() {
case $state in
(cmds)
_values "desk commands" \
'.[Activate a desk]' \
'go[Activate a desk]' \
'ls[List all desks along with description]' \
'list[List all desks along with description]' \
'init[Initialize desk configuration]' \
'list[List all desks along with description]'
'version[Show version information]'
ret=0
;;
(desk)
case $words[2] in
(go)
(go|.)
_values "available desks" ${desks[@]}
ret=0
;;