mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
Add new feature to run command in emulation. Factor out handling of quoted command string to new function.
8 lines
274 B
Text
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'
|