summaryrefslogtreecommitdiffstats
path: root/Completion/Zsh/Command/_emulate
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_emulate')
-rw-r--r--Completion/Zsh/Command/_emulate9
1 files changed, 5 insertions, 4 deletions
diff --git a/Completion/Zsh/Command/_emulate b/Completion/Zsh/Command/_emulate
index d6fb0c3d9..a16738cdb 100644
--- a/Completion/Zsh/Command/_emulate
+++ b/Completion/Zsh/Command/_emulate
@@ -1,8 +1,9 @@
#compdef emulate
-_arguments -C -s \
- '-L[set local_options and local_traps as well]' \
+_arguments -s -S -A '-*' : \
+ '(2 3)-l[list options to be set or unset]' \
+ '(2 3)-L[set local_options and local_traps as well]' \
'-R[reset all options instead of only those needed for script portability]' \
'1:shell to emulate:(zsh sh ksh csh)' \
- '2:specify optional command:(-c)' \
- '3:command:_cmdstring'
+ '(-l -L)2:specify optional command:(-c)' \
+ '(-l -L)3: :_cmdstring'