Single Letter Options (zsh)

### 16.4 Single Letter Options ¶

#### 16.4.1 Default set ¶

`-0`

  CORRECT

`-1`

  PRINT_EXIT_VALUE

`-2`

  NO_BAD_PATTERN

`-3`

  NO_NOMATCH

`-4`

  GLOB_DOTS

`-5`

  NOTIFY

`-6`

  BG_NICE

`-7`

  IGNORE_EOF

`-8`

  MARK_DIRS

`-9`

  AUTO_LIST

`-B`

  NO_BEEP

`-C`

  NO_CLOBBER

`-D`

  PUSHD_TO_HOME

`-E`

  PUSHD_SILENT

`-F`

  NO_GLOB

`-G`

  NULL_GLOB

`-H`

  RM_STAR_SILENT

`-I`

  IGNORE_BRACES

`-J`

  AUTO_CD

`-K`

  NO_BANG_HIST

`-L`

  SUN_KEYBOARD_HACK

`-M`

  SINGLE_LINE_ZLE

`-N`

  AUTO_PUSHD

`-O`

  CORRECT_ALL

`-P`

  RC_EXPAND_PARAM

`-Q`

  PATH_DIRS

`-R`

  LONG_LIST_JOBS

`-S`

  REC_EXACT

`-T`

  CDABLE_VARS

`-U`

  MAIL_WARNING

`-V`

  NO_PROMPT_CR

`-W`

  AUTO_RESUME

`-X`

  LIST_TYPES

`-Y`

  MENU_COMPLETE

`-Z`

  ZLE

`-a`

  ALL_EXPORT

`-e`

  ERR_EXIT

`-f`

  NO_RCS

`-g`

  HIST_IGNORE_SPACE

`-h`

  HIST_IGNORE_DUPS

`-i`

  INTERACTIVE

`-k`

  INTERACTIVE_COMMENTS

`-l`

  LOGIN

`-m`

  MONITOR

`-n`

  NO_EXEC

`-p`

  PRIVILEGED

`-r`

  RESTRICTED

`-s`

  SHIN_STDIN

`-t`

  SINGLE_COMMAND

`-u`

  NO_UNSET

`-v`

  VERBOSE

`-w`

  CHASE_LINKS

`-x`

  XTRACE

`-y`

  SH_WORD_SPLIT

#### 16.4.2 sh/ksh emulation set ¶

`-C`

  NO_CLOBBER

`-T`

  TRAPS_ASYNC

`-X`

  MARK_DIRS

`-a`

  ALL_EXPORT

`-b`

  NOTIFY

`-e`

  ERR_EXIT

`-f`

  NO_GLOB

`-i`

  INTERACTIVE

`-l`

  LOGIN

`-m`

  MONITOR

`-n`

  NO_EXEC

`-p`

  PRIVILEGED

`-r`

  RESTRICTED

`-s`

  SHIN_STDIN

`-t`

  SINGLE_COMMAND

`-u`

  NO_UNSET

`-v`

  VERBOSE

`-x`

  XTRACE

#### 16.4.3 Also note ¶

`-A`

  Used by `set` for setting arrays

`-b`

  Used on the command line to specify end of option processing

`-c`

  Used on the command line to specify a single command

`-m`

  Used by `setopt` for pattern-matching option setting

`-o`

  Used in all places to allow use of long option names

`-s`

  Used by `set` to sort positional parameters