mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01: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
|
||||
(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
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue