mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
Added alternate command versions
This commit is contained in:
parent
2120573783
commit
8f5aaa256f
1 changed files with 5 additions and 2 deletions
|
|
@ -29,14 +29,17 @@ _desk() {
|
||||||
case $state in
|
case $state in
|
||||||
(cmds)
|
(cmds)
|
||||||
_values "desk commands" \
|
_values "desk commands" \
|
||||||
|
'.[Activate a desk]' \
|
||||||
'go[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]' \
|
'init[Initialize desk configuration]' \
|
||||||
'list[List all desks along with description]'
|
'version[Show version information]'
|
||||||
ret=0
|
ret=0
|
||||||
;;
|
;;
|
||||||
(desk)
|
(desk)
|
||||||
case $words[2] in
|
case $words[2] in
|
||||||
(go)
|
(go|.)
|
||||||
_values "available desks" ${desks[@]}
|
_values "available desks" ${desks[@]}
|
||||||
ret=0
|
ret=0
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue