File: _emulate

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (8 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
#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'