1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00
zsh/Completion/Zsh/Command/_emulate
Peter Stephenson 1c942291f8 34435: Update emulate completion.
Add new feature to run command in emulation.

Factor out handling of quoted command string to new function.
2015-01-30 16:24:20 +00:00

8 lines
274 B
Text

#compdef emulate
_arguments -C -s \
'-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'