Skip to content

Instantly share code, notes, and snippets.

@josemrb
Forked from mattmc3/1-setopts.zsh
Created January 26, 2025 15:30
Show Gist options
  • Select an option

  • Save josemrb/c23fd429d8ef38d36ab69084dd4406c2 to your computer and use it in GitHub Desktop.

Select an option

Save josemrb/c23fd429d8ef38d36ab69084dd4406c2 to your computer and use it in GitHub Desktop.

Revisions

  1. @mattmc3 mattmc3 revised this gist Sep 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2-setopt_by_framework.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ zsh `set -o` to see which options are set per each zsh framework

    [zsh options reference](http://zsh.sourceforge.net/Doc/Release/Options.html)

    | zsh option | category | zsh | oh-my-zsh | prezto |
    | zsh option | category | default | oh-my-zsh | prezto |
    |:---------------------|:-----------------------|:-------:|:---------:|:-------:|
    | noaliases | Input/Output | | | |
    | aliasfuncdef | Scripts and Functions | | | |
  2. @mattmc3 mattmc3 revised this gist Sep 3, 2020. 1 changed file with 182 additions and 182 deletions.
    364 changes: 182 additions & 182 deletions 2-setopt_by_framework.md
    Original file line number Diff line number Diff line change
    @@ -2,185 +2,185 @@ zsh `set -o` to see which options are set per each zsh framework

    [zsh options reference](http://zsh.sourceforge.net/Doc/Release/Options.html)

    | zsh option | category | oh-my-zsh | prezto |
    |:---------------------|:-----------------------|:-------------------------:|:-------------------------:|
    | noaliases | Input/Output | | |
    | aliasfuncdef | Scripts and Functions | | |
    | allexport | Initialization | | |
    | noalwayslastprompt | Completion | | |
    | alwaystoend | Completion | :heavy_check_mark: | |
    | appendcreate | Shell Emulation | | |
    | noappendhistory | History | | |
    | autocd | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | autocontinue | Job Control | | |
    | noautolist | Completion | | |
    | noautomenu | Completion | | |
    | autonamedirs | Completion | | |
    | noautoparamkeys | Completion | | |
    | noautoparamslash | Completion | | |
    | autopushd | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noautoremoveslash | Completion | | |
    | autoresume | Job Control | | <ul><li> - [x] </li></ul> |
    | nobadpattern | Expansion and Globbing | | |
    | nobanghist | History | | |
    | nobareglobqual | Expansion and Globbing | | |
    | bashautolist | Completion | | |
    | bashrematch | Shell Emulation | | |
    | nobeep | Zle | | |
    | nobgnice | Job Control | | <ul><li> - [x] </li></ul> |
    | braceccl | Expansion and Globbing | | |
    | bsdecho | Shell Emulation | | |
    | nocaseglob | Expansion and Globbing | | <ul><li> - [x] </li></ul> |
    | nocasematch | Expansion and Globbing | | |
    | cbases | Scripts and Functions | | |
    | cdablevars | Changing Directories | | <ul><li> - [x] </li></ul> |
    | chasedots | Changing Directories | | |
    | chaselinks | Changing Directories | | |
    | nocheckjobs | Job Control | | <ul><li> - [x] </li></ul> |
    | nocheckrunningjobs | Job Control | | |
    | noclobber | Input/Output | | <ul><li> - [x] </li></ul> |
    | combiningchars | Zle | | <ul><li> - [x] </li></ul> |
    | completealiases | Completion | | |
    | completeinword | Completion | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | continueonerror | Shell Emulation | | |
    | correct | Input/Output | | <ul><li> - [x] </li></ul> |
    | correctall | Input/Output | | |
    | cprecedences | Scripts and Functions | | |
    | cshjunkiehistory | Shell Emulation | | |
    | cshjunkieloops | Shell Emulation | | |
    | cshjunkiequotes | Shell Emulation | | |
    | cshnullcmd | Shell Emulation | | |
    | cshnullglob | Expansion and Globbing | | |
    | nodebugbeforecmd | Scripts and Functions | | |
    | dvorak | Input/Output | | |
    | emacs | Zle | | |
    | noequals | Expansion and Globbing | | |
    | errexit | Scripts and Functions | | |
    | errreturn | Scripts and Functions | | |
    | noevallineno | Scripts and Functions | | |
    | noexec | Scripts and Functions | | |
    | extendedglob | Expansion and Globbing | | <ul><li> - [x] </li></ul> |
    | extendedhistory | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noflowcontrol | Input/Output | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | forcefloat | Expansion and Globbing | | |
    | nofunctionargzero | Scripts and Functions | | |
    | noglob | Expansion and Globbing | | |
    | noglobalexport | Initialization | | |
    | noglobalrcs | Initialization | | |
    | globassign | Expansion and Globbing | | |
    | globcomplete | Completion | | |
    | globdots | Expansion and Globbing | | |
    | globstarshort | Expansion and Globbing | | |
    | globsubst | Expansion and Globbing | | |
    | nohashcmds | Input/Output | | |
    | nohashdirs | Input/Output | | |
    | hashexecutablesonly | Input/Output | | |
    | nohashlistall | Completion | | |
    | histallowclobber | History | | |
    | nohistbeep | History | | |
    | histexpiredupsfirst | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histfcntllock | History | | |
    | histfindnodups | History | | <ul><li> - [x] </li></ul> |
    | histignorealldups | History | | <ul><li> - [x] </li></ul> |
    | histignoredups | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histignorespace | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histlexwords | History | | |
    | histnofunctions | History | | |
    | histnostore | History | | |
    | histreduceblanks | History | | |
    | nohistsavebycopy | History | | |
    | histsavenodups | History | | <ul><li> - [x] </li></ul> |
    | histsubstpattern | Expansion and Globbing | | |
    | histverify | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nohup | Job Control | | <ul><li> - [x] </li></ul> |
    | ignorebraces | Expansion and Globbing | | |
    | ignoreclosebraces | Expansion and Globbing | | |
    | ignoreeof | Input/Output | | |
    | incappendhistory | History | <ul><li> - [x] </li></ul> | |
    | incappendhistorytime | History | | |
    | interactive | Shell State | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | interactivecomments | Input/Output | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | ksharrays | Shell Emulation | | |
    | kshautoload | Shell Emulation | | |
    | kshglob | Expansion and Globbing | | |
    | kshoptionprint | Shell Emulation | | |
    | kshtypeset | Shell Emulation | | |
    | kshzerosubscript | Shell Emulation | | |
    | nolistambiguous | Completion | | |
    | nolistbeep | Completion | | |
    | listpacked | Completion | | |
    | listrowsfirst | Completion | | |
    | nolisttypes | Completion | | |
    | localloops | Scripts and Functions | | |
    | localoptions | Scripts and Functions | | |
    | localpatterns | Scripts and Functions | | |
    | localtraps | Scripts and Functions | | |
    | login | Shell State | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | longlistjobs | Job Control | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | magicequalsubst | Expansion and Globbing | | |
    | mailwarning | Input/Output | | |
    | markdirs | Expansion and Globbing | | |
    | menucomplete | Completion | | |
    | monitor | Job Control | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nomultibyte | Expansion and Globbing | | |
    | nomultifuncdef | Scripts and Functions | | |
    | nomultios | Scripts and Functions | | |
    | nonomatch | Expansion and Globbing | | |
    | nonotify | Job Control | | |
    | nullglob | Expansion and Globbing | | |
    | numericglobsort | Expansion and Globbing | | |
    | octalzeroes | Scripts and Functions | | |
    | overstrike | Zle | | |
    | pathdirs | Input/Output | | <ul><li> - [x] </li></ul> |
    | pathscript | Input/Output | | |
    | pipefail | Scripts and Functions | | |
    | posixaliases | Shell Emulation | | |
    | posixargzero | Shell Emulation | | |
    | posixbuiltins | Shell Emulation | | |
    | posixcd | Changing Directories | | |
    | posixidentifiers | Shell Emulation | | |
    | posixjobs | Job Control | | |
    | posixstrings | Shell Emulation | | |
    | posixtraps | Shell Emulation | | |
    | printeightbit | Input/Output | | |
    | printexitvalue | Input/Output | | |
    | privileged | Shell State | | |
    | promptbang | Prompting | | |
    | nopromptcr | Prompting | | |
    | nopromptpercent | Prompting | | |
    | nopromptsp | Prompting | | |
    | promptsubst | PromptingPrompting | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdignoredups | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdminus | Changing Directories | <ul><li> - [x] </li></ul> | |
    | pushdsilent | Changing Directories | | <ul><li> - [x] </li></ul> |
    | pushdtohome | Changing Directories | | <ul><li> - [x] </li></ul> |
    | rcexpandparam | Expansion and Globbing | | |
    | rcquotes | Input/Output | | <ul><li> - [x] </li></ul> |
    | norcs | Initialization | | |
    | recexact | Completion | | |
    | rematchpcre | Expansion and Globbing | | |
    | restricted | Shell State | | |
    | rmstarsilent | Input/OutPromptingut | | |
    | rmstarwait | Input/Output | | |
    | sharehistory | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shfileexpansion | Shell Emulation | | |
    | shglob | Expansion and Globbing | | |
    | shinstdin | Shell State | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shnullcmd | Shell Emulation | | |
    | shoptionletters | Shell Emulation | | |
    | noshortloops | Input/Output | | |
    | shwordsplit | Shell Emulation | | |
    | singlecommand | Shell State | | |
    | singlelinezle | Zle | | |
    | sourcetrace | Scripts and Functions | | |
    | sunkeyboardhack | Input/Output | | |
    | transientrprompt | Prompting | | |
    | trapsasync | Shell Emulation | | |
    | typesetsilent | Scripts and Functions | | |
    | nounset | Expansion and Globbing | | |
    | verbose | Scripts and Functions | | |
    | vi | Zle | | |
    | warncreateglobal | Expansion and Globbing | | |
    | warnnestedvar | Expansion and Globbing | | |
    | xtrace | Scripts and Functions | | |
    | zle | Zle | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | zsh option | category | zsh | oh-my-zsh | prezto |
    |:---------------------|:-----------------------|:-------:|:---------:|:-------:|
    | noaliases | Input/Output | | | |
    | aliasfuncdef | Scripts and Functions | | | |
    | allexport | Initialization | | | |
    | noalwayslastprompt | Completion | | | |
    | alwaystoend | Completion | | &check; | &check; |
    | appendcreate | Shell Emulation | | | |
    | noappendhistory | History | | | |
    | autocd | Changing Directories | | &check; | &check; |
    | autocontinue | Job Control | | | |
    | noautolist | Completion | | | |
    | noautomenu | Completion | | | |
    | autonamedirs | Completion | | | |
    | noautoparamkeys | Completion | | | |
    | noautoparamslash | Completion | | | |
    | autopushd | Changing Directories | | &check; | &check; |
    | noautoremoveslash | Completion | | | |
    | autoresume | Job Control | | | &check; |
    | nobadpattern | Expansion and Globbing | | | |
    | nobanghist | History | | | |
    | nobareglobqual | Expansion and Globbing | | | |
    | bashautolist | Completion | | | |
    | bashrematch | Shell Emulation | | | |
    | nobeep | Zle | | | |
    | nobgnice | Job Control | | | &check; |
    | braceccl | Expansion and Globbing | | | |
    | bsdecho | Shell Emulation | | | |
    | nocaseglob | Expansion and Globbing | | | &check; |
    | nocasematch | Expansion and Globbing | | | |
    | cbases | Scripts and Functions | | | |
    | cdablevars | Changing Directories | | | &check; |
    | chasedots | Changing Directories | | | |
    | chaselinks | Changing Directories | | | |
    | nocheckjobs | Job Control | | | &check; |
    | nocheckrunningjobs | Job Control | | | |
    | noclobber | Input/Output | | | &check; |
    | combiningchars | Zle | &check; | | &check; |
    | completealiases | Completion | | | |
    | completeinword | Completion | | &check; | &check; |
    | continueonerror | Shell Emulation | | | |
    | correct | Input/Output | | | &check; |
    | correctall | Input/Output | | | |
    | cprecedences | Scripts and Functions | | | |
    | cshjunkiehistory | Shell Emulation | | | |
    | cshjunkieloops | Shell Emulation | | | |
    | cshjunkiequotes | Shell Emulation | | | |
    | cshnullcmd | Shell Emulation | | | |
    | cshnullglob | Expansion and Globbing | | | |
    | nodebugbeforecmd | Scripts and Functions | | | |
    | dvorak | Input/Output | | | |
    | emacs | Zle | | | |
    | noequals | Expansion and Globbing | | | |
    | errexit | Scripts and Functions | | | |
    | errreturn | Scripts and Functions | | | |
    | noevallineno | Scripts and Functions | | | |
    | noexec | Scripts and Functions | | | |
    | extendedglob | Expansion and Globbing | | | &check; |
    | extendedhistory | History | | &check; | &check; |
    | noflowcontrol | Input/Output | | &check; | &check; |
    | forcefloat | Expansion and Globbing | | | |
    | nofunctionargzero | Scripts and Functions | | | |
    | noglob | Expansion and Globbing | | | |
    | noglobalexport | Initialization | | | |
    | noglobalrcs | Initialization | | | |
    | globassign | Expansion and Globbing | | | |
    | globcomplete | Completion | | | |
    | globdots | Expansion and Globbing | | | |
    | globstarshort | Expansion and Globbing | | | |
    | globsubst | Expansion and Globbing | | | |
    | nohashcmds | Input/Output | | | |
    | nohashdirs | Input/Output | | | |
    | hashexecutablesonly | Input/Output | | | |
    | nohashlistall | Completion | | | |
    | histallowclobber | History | | | |
    | nohistbeep | History | | | |
    | histexpiredupsfirst | History | | &check; | &check; |
    | histfcntllock | History | | | |
    | histfindnodups | History | | | &check; |
    | histignorealldups | History | | | &check; |
    | histignoredups | History | | &check; | &check; |
    | histignorespace | History | | &check; | &check; |
    | histlexwords | History | | | |
    | histnofunctions | History | | | |
    | histnostore | History | | | |
    | histreduceblanks | History | | | |
    | nohistsavebycopy | History | | | |
    | histsavenodups | History | | | &check; |
    | histsubstpattern | Expansion and Globbing | | | |
    | histverify | History | | &check; | &check; |
    | nohup | Job Control | | | &check; |
    | ignorebraces | Expansion and Globbing | | | |
    | ignoreclosebraces | Expansion and Globbing | | | |
    | ignoreeof | Input/Output | | | |
    | incappendhistory | History | | &check; | |
    | incappendhistorytime | History | | | |
    | interactive | Shell State | &check; | &check; | &check; |
    | interactivecomments | Input/Output | | &check; | &check; |
    | ksharrays | Shell Emulation | | | |
    | kshautoload | Shell Emulation | | | |
    | kshglob | Expansion and Globbing | | | |
    | kshoptionprint | Shell Emulation | | | |
    | kshtypeset | Shell Emulation | | | |
    | kshzerosubscript | Shell Emulation | | | |
    | nolistambiguous | Completion | | | |
    | nolistbeep | Completion | | | |
    | listpacked | Completion | | | |
    | listrowsfirst | Completion | | | |
    | nolisttypes | Completion | | | |
    | localloops | Scripts and Functions | | | |
    | localoptions | Scripts and Functions | | | |
    | localpatterns | Scripts and Functions | | | |
    | localtraps | Scripts and Functions | | | |
    | login | Shell State | | &check; | &check; |
    | longlistjobs | Job Control | | &check; | &check; |
    | magicequalsubst | Expansion and Globbing | | | |
    | mailwarning | Input/Output | | | |
    | markdirs | Expansion and Globbing | | | |
    | menucomplete | Completion | | | |
    | monitor | Job Control | &check; | &check; | &check; |
    | nomultibyte | Expansion and Globbing | | | |
    | nomultifuncdef | Scripts and Functions | | | |
    | nomultios | Scripts and Functions | | | |
    | nonomatch | Expansion and Globbing | | | |
    | nonotify | Job Control | | | |
    | nullglob | Expansion and Globbing | | | |
    | numericglobsort | Expansion and Globbing | | | |
    | octalzeroes | Scripts and Functions | | | |
    | overstrike | Zle | | | |
    | pathdirs | Input/Output | | | &check; |
    | pathscript | Input/Output | | | |
    | pipefail | Scripts and Functions | | | |
    | posixaliases | Shell Emulation | | | |
    | posixargzero | Shell Emulation | | | |
    | posixbuiltins | Shell Emulation | | | |
    | posixcd | Changing Directories | | | |
    | posixidentifiers | Shell Emulation | | | |
    | posixjobs | Job Control | | | |
    | posixstrings | Shell Emulation | | | |
    | posixtraps | Shell Emulation | | | |
    | printeightbit | Input/Output | | | |
    | printexitvalue | Input/Output | | | |
    | privileged | Shell State | | | |
    | promptbang | Prompting | | | |
    | nopromptcr | Prompting | | | |
    | nopromptpercent | Prompting | | | |
    | nopromptsp | Prompting | | | |
    | promptsubst | PromptingPrompting | | &check; | &check; |
    | pushdignoredups | Changing Directories | | &check; | &check; |
    | pushdminus | Changing Directories | | &check; | |
    | pushdsilent | Changing Directories | | | &check; |
    | pushdtohome | Changing Directories | | | &check; |
    | rcexpandparam | Expansion and Globbing | | | |
    | rcquotes | Input/Output | | | &check; |
    | norcs | Initialization | | | |
    | recexact | Completion | | | |
    | rematchpcre | Expansion and Globbing | | | |
    | restricted | Shell State | | | |
    | rmstarsilent | Input/OutPromptingut | | | |
    | rmstarwait | Input/Output | | | |
    | sharehistory | History | | &check; | &check; |
    | shfileexpansion | Shell Emulation | | | |
    | shglob | Expansion and Globbing | | | |
    | shinstdin | Shell State | &check; | &check; | &check; |
    | shnullcmd | Shell Emulation | | | |
    | shoptionletters | Shell Emulation | | | |
    | noshortloops | Input/Output | | | |
    | shwordsplit | Shell Emulation | | | |
    | singlecommand | Shell State | | | |
    | singlelinezle | Zle | | | |
    | sourcetrace | Scripts and Functions | | | |
    | sunkeyboardhack | Input/Output | | | |
    | transientrprompt | Prompting | | | |
    | trapsasync | Shell Emulation | | | |
    | typesetsilent | Scripts and Functions | | | |
    | nounset | Expansion and Globbing | | | |
    | verbose | Scripts and Functions | | | |
    | vi | Zle | | | |
    | warncreateglobal | Expansion and Globbing | | | |
    | warnnestedvar | Expansion and Globbing | | | |
    | xtrace | Scripts and Functions | | | |
    | zle | Zle | &check; | &check; | &check; |
  3. @mattmc3 mattmc3 revised this gist Sep 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2-setopt_by_framework.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ zsh `set -o` to see which options are set per each zsh framework
    | aliasfuncdef | Scripts and Functions | | |
    | allexport | Initialization | | |
    | noalwayslastprompt | Completion | | |
    | alwaystoend | Completion | :heavy_check_mark: | <ul><li> - [x] </li></ul> |
    | alwaystoend | Completion | :heavy_check_mark: | |
    | appendcreate | Shell Emulation | | |
    | noappendhistory | History | | |
    | autocd | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
  4. @mattmc3 mattmc3 revised this gist Sep 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2-setopt_by_framework.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ zsh `set -o` to see which options are set per each zsh framework
    | aliasfuncdef | Scripts and Functions | | |
    | allexport | Initialization | | |
    | noalwayslastprompt | Completion | | |
    | alwaystoend | Completion | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | alwaystoend | Completion | :heavy_check_mark: | <ul><li> - [x] </li></ul> |
    | appendcreate | Shell Emulation | | |
    | noappendhistory | History | | |
    | autocd | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
  5. @mattmc3 mattmc3 revised this gist Nov 4, 2019. 2 changed files with 83 additions and 0 deletions.
    83 changes: 83 additions & 0 deletions 1-setopts.zsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,83 @@
    ## ZSH Options
    # http://zsh.sourceforge.net/Doc/Release/Options.html

    # Changing Directories
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories
    setopt auto_cd # if a command isn't valid, but is a directory, cd to that dir
    setopt auto_pushd # make cd push the old directory onto the directory stack
    setopt pushd_ignore_dups # don’t push multiple copies of the same directory onto the directory stack
    setopt pushd_minus # exchanges the meanings of ‘+’ and ‘-’ when specifying a directory in the stack

    # Completions
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-2
    setopt always_to_end # move cursor to the end of a completed word
    setopt auto_list # automatically list choices on ambiguous completion
    setopt auto_menu # show completion menu on a successive tab press
    setopt auto_param_slash # if completed parameter is a directory, add a trailing slash
    setopt complete_in_word # complete from both ends of a word
    unsetopt menu_complete # don't autoselect the first completion entry

    # Expansion and Globbing
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Expansion-and-Globbing
    setopt extended_glob # use more awesome globbing features
    setopt glob_dots # include dotfiles when globbing

    # History
    # http://zsh.sourceforge.net/Doc/Release/Options.html#History
    setopt append_history # append to history file
    setopt extended_history # write the history file in the ':start:elapsed;command' format
    unsetopt hist_beep # don't beep when attempting to access a missing history entry
    setopt hist_expire_dups_first # expire a duplicate event first when trimming history
    setopt hist_find_no_dups # don't display a previously found event
    setopt hist_ignore_all_dups # delete an old recorded event if a new event is a duplicate
    setopt hist_ignore_dups # don't record an event that was just recorded again
    setopt hist_ignore_space # don't record an event starting with a space
    setopt hist_no_store # don't store history commands
    setopt hist_reduce_blanks # remove superfluous blanks from each command line being added to the history list
    setopt hist_save_no_dups # don't write a duplicate event to the history file
    setopt hist_verify # don't execute immediately upon history expansion
    setopt inc_append_history # write to the history file immediately, not when the shell exits
    unsetopt share_history # don't share history between all sessions

    # Initialization
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Initialisation

    # Input/Output
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput
    unsetopt clobber # must use >| to truncate existing files
    unsetopt correct # don't try to correct the spelling of commands
    unsetopt correct_all # don't try to correct the spelling of all arguments in a line
    unsetopt flow_control # disable start/stop characters in shell editor
    setopt interactive_comments # enable comments in interactive shell
    unsetopt mail_warning # don't print a warning message if a mail file has been accessed
    setopt path_dirs # perform path search even on command names with slashes
    setopt rc_quotes # allow 'Henry''s Garage' instead of 'Henry'\''s Garage'
    unsetopt rm_star_silent # ask for confirmation for `rm *' or `rm path/*'

    # Job Control
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Job-Control
    setopt auto_resume # attempt to resume existing job before creating a new process
    unsetopt bg_nice # don't run all background jobs at a lower priority
    unsetopt check_jobs # don't report on jobs when shell exit
    unsetopt hup # don't kill jobs on shell exit
    setopt long_list_jobs # list jobs in the long format by default
    setopt notify # report status of background jobs immediately

    # Prompting
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Prompting
    setopt prompt_subst # expand parameters in prompt variables

    # Scripts and Functions
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Scripts-and-Functions

    # Shell Emulation
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Shell-Emulation

    # Shell State
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Shell-State

    # Zle
    # http://zsh.sourceforge.net/Doc/Release/Options.html#Zle
    unsetopt beep # be quiet!
    setopt combining_chars # combine zero-length punctuation characters (accents) with the base character
    setopt emacs # use emacs keybindings in the shell
    File renamed without changes.
  6. @mattmc3 mattmc3 revised this gist Oct 8, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions setopt.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    zsh `set -o` to see which options are set per each zsh framework

    [zsh options reference](http://zsh.sourceforge.net/Doc/Release/Options.html)

    | zsh option | category | oh-my-zsh | prezto |
    |:---------------------|:-----------------------|:-------------------------:|:-------------------------:|
    | noaliases | Input/Output | | |
  7. @mattmc3 mattmc3 revised this gist Oct 8, 2019. No changes.
  8. @mattmc3 mattmc3 revised this gist Oct 8, 2019. No changes.
  9. @mattmc3 mattmc3 revised this gist Oct 8, 2019. 1 changed file with 182 additions and 186 deletions.
    368 changes: 182 additions & 186 deletions setopt.md
    Original file line number Diff line number Diff line change
    @@ -1,186 +1,182 @@
    zsh `set -o` to see which options are set per each zsh framework

    [zsh options reference](http://zsh.sourceforge.net/Doc/Release/Options.html)

    | zsh option | oh-my-zsh | prezto |
    |:---------------------|:-------------------------:|:-------------------------:|
    | noaliases | | |
    | aliasfuncdef | | |
    | allexport | | |
    | noalwayslastprompt | | |
    | alwaystoend | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | appendcreate | | |
    | noappendhistory | | |
    | autocd | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | autocontinue | | |
    | noautolist | | |
    | noautomenu | | |
    | autonamedirs | | |
    | noautoparamkeys | | |
    | noautoparamslash | | |
    | autopushd | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noautoremoveslash | | |
    | autoresume | | <ul><li> - [x] </li></ul> |
    | nobadpattern | | |
    | nobanghist | | |
    | nobareglobqual | | |
    | bashautolist | | |
    | bashrematch | | |
    | nobeep | | |
    | nobgnice | | <ul><li> - [x] </li></ul> |
    | braceccl | | |
    | bsdecho | | |
    | nocaseglob | | <ul><li> - [x] </li></ul> |
    | nocasematch | | |
    | cbases | | |
    | cdablevars | | <ul><li> - [x] </li></ul> |
    | chasedots | | |
    | chaselinks | | |
    | nocheckjobs | | <ul><li> - [x] </li></ul> |
    | nocheckrunningjobs | | |
    | noclobber | | <ul><li> - [x] </li></ul> |
    | combiningchars | | <ul><li> - [x] </li></ul> |
    | completealiases | | |
    | completeinword | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | continueonerror | | |
    | correct | | <ul><li> - [x] </li></ul> |
    | correctall | | |
    | cprecedences | | |
    | cshjunkiehistory | | |
    | cshjunkieloops | | |
    | cshjunkiequotes | | |
    | cshnullcmd | | |
    | cshnullglob | | |
    | nodebugbeforecmd | | |
    | dvorak | | |
    | emacs | | |
    | noequals | | |
    | errexit | | |
    | errreturn | | |
    | noevallineno | | |
    | noexec | | |
    | extendedglob | | <ul><li> - [x] </li></ul> |
    | extendedhistory | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noflowcontrol | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | forcefloat | | |
    | nofunctionargzero | | |
    | noglob | | |
    | noglobalexport | | |
    | noglobalrcs | | |
    | globassign | | |
    | globcomplete | | |
    | globdots | | |
    | globstarshort | | |
    | globsubst | | |
    | nohashcmds | | |
    | nohashdirs | | |
    | hashexecutablesonly | | |
    | nohashlistall | | |
    | histallowclobber | | |
    | nohistbeep | | |
    | histexpiredupsfirst | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histfcntllock | | |
    | histfindnodups | | <ul><li> - [x] </li></ul> |
    | histignorealldups | | <ul><li> - [x] </li></ul> |
    | histignoredups | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histignorespace | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histlexwords | | |
    | histnofunctions | | |
    | histnostore | | |
    | histreduceblanks | | |
    | nohistsavebycopy | | |
    | histsavenodups | | <ul><li> - [x] </li></ul> |
    | histsubstpattern | | |
    | histverify | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nohup | | <ul><li> - [x] </li></ul> |
    | ignorebraces | | |
    | ignoreclosebraces | | |
    | ignoreeof | | |
    | incappendhistory | <ul><li> - [x] </li></ul> | |
    | incappendhistorytime | | |
    | interactive | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | interactivecomments | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | ksharrays | | |
    | kshautoload | | |
    | kshglob | | |
    | kshoptionprint | | |
    | kshtypeset | | |
    | kshzerosubscript | | |
    | nolistambiguous | | |
    | nolistbeep | | |
    | listpacked | | |
    | listrowsfirst | | |
    | nolisttypes | | |
    | localloops | | |
    | localoptions | | |
    | localpatterns | | |
    | localtraps | | |
    | login | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | longlistjobs | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | magicequalsubst | | |
    | mailwarning | | |
    | markdirs | | |
    | menucomplete | | |
    | monitor | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nomultibyte | | |
    | nomultifuncdef | | |
    | nomultios | | |
    | nonomatch | | |
    | nonotify | | |
    | nullglob | | |
    | numericglobsort | | |
    | octalzeroes | | |
    | overstrike | | |
    | pathdirs | | <ul><li> - [x] </li></ul> |
    | pathscript | | |
    | pipefail | | |
    | posixaliases | | |
    | posixargzero | | |
    | posixbuiltins | | |
    | posixcd | | |
    | posixidentifiers | | |
    | posixjobs | | |
    | posixstrings | | |
    | posixtraps | | |
    | printeightbit | | |
    | printexitvalue | | |
    | privileged | | |
    | promptbang | | |
    | nopromptcr | | |
    | nopromptpercent | | |
    | nopromptsp | | |
    | promptsubst | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdignoredups | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdminus | <ul><li> - [x] </li></ul> | |
    | pushdsilent | | <ul><li> - [x] </li></ul> |
    | pushdtohome | | <ul><li> - [x] </li></ul> |
    | rcexpandparam | | |
    | rcquotes | | <ul><li> - [x] </li></ul> |
    | norcs | | |
    | recexact | | |
    | rematchpcre | | |
    | restricted | | |
    | rmstarsilent | | |
    | rmstarwait | | |
    | sharehistory | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shfileexpansion | | |
    | shglob | | |
    | shinstdin | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shnullcmd | | |
    | shoptionletters | | |
    | noshortloops | | |
    | shwordsplit | | |
    | singlecommand | | |
    | singlelinezle | | |
    | sourcetrace | | |
    | sunkeyboardhack | | |
    | transientrprompt | | |
    | trapsasync | | |
    | typesetsilent | | |
    | nounset | | |
    | verbose | | |
    | vi | | |
    | warncreateglobal | | |
    | warnnestedvar | | |
    | xtrace | | |
    | zle | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | zsh option | category | oh-my-zsh | prezto |
    |:---------------------|:-----------------------|:-------------------------:|:-------------------------:|
    | noaliases | Input/Output | | |
    | aliasfuncdef | Scripts and Functions | | |
    | allexport | Initialization | | |
    | noalwayslastprompt | Completion | | |
    | alwaystoend | Completion | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | appendcreate | Shell Emulation | | |
    | noappendhistory | History | | |
    | autocd | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | autocontinue | Job Control | | |
    | noautolist | Completion | | |
    | noautomenu | Completion | | |
    | autonamedirs | Completion | | |
    | noautoparamkeys | Completion | | |
    | noautoparamslash | Completion | | |
    | autopushd | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noautoremoveslash | Completion | | |
    | autoresume | Job Control | | <ul><li> - [x] </li></ul> |
    | nobadpattern | Expansion and Globbing | | |
    | nobanghist | History | | |
    | nobareglobqual | Expansion and Globbing | | |
    | bashautolist | Completion | | |
    | bashrematch | Shell Emulation | | |
    | nobeep | Zle | | |
    | nobgnice | Job Control | | <ul><li> - [x] </li></ul> |
    | braceccl | Expansion and Globbing | | |
    | bsdecho | Shell Emulation | | |
    | nocaseglob | Expansion and Globbing | | <ul><li> - [x] </li></ul> |
    | nocasematch | Expansion and Globbing | | |
    | cbases | Scripts and Functions | | |
    | cdablevars | Changing Directories | | <ul><li> - [x] </li></ul> |
    | chasedots | Changing Directories | | |
    | chaselinks | Changing Directories | | |
    | nocheckjobs | Job Control | | <ul><li> - [x] </li></ul> |
    | nocheckrunningjobs | Job Control | | |
    | noclobber | Input/Output | | <ul><li> - [x] </li></ul> |
    | combiningchars | Zle | | <ul><li> - [x] </li></ul> |
    | completealiases | Completion | | |
    | completeinword | Completion | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | continueonerror | Shell Emulation | | |
    | correct | Input/Output | | <ul><li> - [x] </li></ul> |
    | correctall | Input/Output | | |
    | cprecedences | Scripts and Functions | | |
    | cshjunkiehistory | Shell Emulation | | |
    | cshjunkieloops | Shell Emulation | | |
    | cshjunkiequotes | Shell Emulation | | |
    | cshnullcmd | Shell Emulation | | |
    | cshnullglob | Expansion and Globbing | | |
    | nodebugbeforecmd | Scripts and Functions | | |
    | dvorak | Input/Output | | |
    | emacs | Zle | | |
    | noequals | Expansion and Globbing | | |
    | errexit | Scripts and Functions | | |
    | errreturn | Scripts and Functions | | |
    | noevallineno | Scripts and Functions | | |
    | noexec | Scripts and Functions | | |
    | extendedglob | Expansion and Globbing | | <ul><li> - [x] </li></ul> |
    | extendedhistory | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noflowcontrol | Input/Output | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | forcefloat | Expansion and Globbing | | |
    | nofunctionargzero | Scripts and Functions | | |
    | noglob | Expansion and Globbing | | |
    | noglobalexport | Initialization | | |
    | noglobalrcs | Initialization | | |
    | globassign | Expansion and Globbing | | |
    | globcomplete | Completion | | |
    | globdots | Expansion and Globbing | | |
    | globstarshort | Expansion and Globbing | | |
    | globsubst | Expansion and Globbing | | |
    | nohashcmds | Input/Output | | |
    | nohashdirs | Input/Output | | |
    | hashexecutablesonly | Input/Output | | |
    | nohashlistall | Completion | | |
    | histallowclobber | History | | |
    | nohistbeep | History | | |
    | histexpiredupsfirst | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histfcntllock | History | | |
    | histfindnodups | History | | <ul><li> - [x] </li></ul> |
    | histignorealldups | History | | <ul><li> - [x] </li></ul> |
    | histignoredups | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histignorespace | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histlexwords | History | | |
    | histnofunctions | History | | |
    | histnostore | History | | |
    | histreduceblanks | History | | |
    | nohistsavebycopy | History | | |
    | histsavenodups | History | | <ul><li> - [x] </li></ul> |
    | histsubstpattern | Expansion and Globbing | | |
    | histverify | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nohup | Job Control | | <ul><li> - [x] </li></ul> |
    | ignorebraces | Expansion and Globbing | | |
    | ignoreclosebraces | Expansion and Globbing | | |
    | ignoreeof | Input/Output | | |
    | incappendhistory | History | <ul><li> - [x] </li></ul> | |
    | incappendhistorytime | History | | |
    | interactive | Shell State | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | interactivecomments | Input/Output | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | ksharrays | Shell Emulation | | |
    | kshautoload | Shell Emulation | | |
    | kshglob | Expansion and Globbing | | |
    | kshoptionprint | Shell Emulation | | |
    | kshtypeset | Shell Emulation | | |
    | kshzerosubscript | Shell Emulation | | |
    | nolistambiguous | Completion | | |
    | nolistbeep | Completion | | |
    | listpacked | Completion | | |
    | listrowsfirst | Completion | | |
    | nolisttypes | Completion | | |
    | localloops | Scripts and Functions | | |
    | localoptions | Scripts and Functions | | |
    | localpatterns | Scripts and Functions | | |
    | localtraps | Scripts and Functions | | |
    | login | Shell State | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | longlistjobs | Job Control | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | magicequalsubst | Expansion and Globbing | | |
    | mailwarning | Input/Output | | |
    | markdirs | Expansion and Globbing | | |
    | menucomplete | Completion | | |
    | monitor | Job Control | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nomultibyte | Expansion and Globbing | | |
    | nomultifuncdef | Scripts and Functions | | |
    | nomultios | Scripts and Functions | | |
    | nonomatch | Expansion and Globbing | | |
    | nonotify | Job Control | | |
    | nullglob | Expansion and Globbing | | |
    | numericglobsort | Expansion and Globbing | | |
    | octalzeroes | Scripts and Functions | | |
    | overstrike | Zle | | |
    | pathdirs | Input/Output | | <ul><li> - [x] </li></ul> |
    | pathscript | Input/Output | | |
    | pipefail | Scripts and Functions | | |
    | posixaliases | Shell Emulation | | |
    | posixargzero | Shell Emulation | | |
    | posixbuiltins | Shell Emulation | | |
    | posixcd | Changing Directories | | |
    | posixidentifiers | Shell Emulation | | |
    | posixjobs | Job Control | | |
    | posixstrings | Shell Emulation | | |
    | posixtraps | Shell Emulation | | |
    | printeightbit | Input/Output | | |
    | printexitvalue | Input/Output | | |
    | privileged | Shell State | | |
    | promptbang | Prompting | | |
    | nopromptcr | Prompting | | |
    | nopromptpercent | Prompting | | |
    | nopromptsp | Prompting | | |
    | promptsubst | PromptingPrompting | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdignoredups | Changing Directories | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdminus | Changing Directories | <ul><li> - [x] </li></ul> | |
    | pushdsilent | Changing Directories | | <ul><li> - [x] </li></ul> |
    | pushdtohome | Changing Directories | | <ul><li> - [x] </li></ul> |
    | rcexpandparam | Expansion and Globbing | | |
    | rcquotes | Input/Output | | <ul><li> - [x] </li></ul> |
    | norcs | Initialization | | |
    | recexact | Completion | | |
    | rematchpcre | Expansion and Globbing | | |
    | restricted | Shell State | | |
    | rmstarsilent | Input/OutPromptingut | | |
    | rmstarwait | Input/Output | | |
    | sharehistory | History | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shfileexpansion | Shell Emulation | | |
    | shglob | Expansion and Globbing | | |
    | shinstdin | Shell State | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shnullcmd | Shell Emulation | | |
    | shoptionletters | Shell Emulation | | |
    | noshortloops | Input/Output | | |
    | shwordsplit | Shell Emulation | | |
    | singlecommand | Shell State | | |
    | singlelinezle | Zle | | |
    | sourcetrace | Scripts and Functions | | |
    | sunkeyboardhack | Input/Output | | |
    | transientrprompt | Prompting | | |
    | trapsasync | Shell Emulation | | |
    | typesetsilent | Scripts and Functions | | |
    | nounset | Expansion and Globbing | | |
    | verbose | Scripts and Functions | | |
    | vi | Zle | | |
    | warncreateglobal | Expansion and Globbing | | |
    | warnnestedvar | Expansion and Globbing | | |
    | xtrace | Scripts and Functions | | |
    | zle | Zle | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
  10. @mattmc3 mattmc3 revised this gist Oct 8, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions setopt.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    zsh `set -o` to see which options are set per each zsh framework

    [zsh options reference](http://zsh.sourceforge.net/Doc/Release/Options.html)

    | zsh option | oh-my-zsh | prezto |
    |:---------------------|:-------------------------:|:-------------------------:|
    | noaliases | | |
  11. @mattmc3 mattmc3 revised this gist Oct 8, 2019. 1 changed file with 184 additions and 182 deletions.
    366 changes: 184 additions & 182 deletions setopt.md
    Original file line number Diff line number Diff line change
    @@ -1,182 +1,184 @@
    | zsh option | oh-my-zsh | prezto |
    |:---------------------|:---------:|:------:|
    | noaliases | [ ] | [ ] |
    | aliasfuncdef | [ ] | [ ] |
    | allexport | [ ] | [ ] |
    | noalwayslastprompt | [ ] | [ ] |
    | alwaystoend | [ X ] | [ X ] |
    | appendcreate | [ ] | [ ] |
    | noappendhistory | [ ] | [ ] |
    | autocd | [ X ] | [ X ] |
    | autocontinue | [ ] | [ ] |
    | noautolist | [ ] | [ ] |
    | noautomenu | [ ] | [ ] |
    | autonamedirs | [ ] | [ ] |
    | noautoparamkeys | [ ] | [ ] |
    | noautoparamslash | [ ] | [ ] |
    | autopushd | [ X ] | [ X ] |
    | noautoremoveslash | [ ] | [ ] |
    | autoresume | [ ] | [ X ] |
    | nobadpattern | [ ] | [ ] |
    | nobanghist | [ ] | [ ] |
    | nobareglobqual | [ ] | [ ] |
    | bashautolist | [ ] | [ ] |
    | bashrematch | [ ] | [ ] |
    | nobeep | [ ] | [ ] |
    | nobgnice | [ ] | [ X ] |
    | braceccl | [ ] | [ ] |
    | bsdecho | [ ] | [ ] |
    | nocaseglob | [ ] | [ X ] |
    | nocasematch | [ ] | [ ] |
    | cbases | [ ] | [ ] |
    | cdablevars | [ ] | [ X ] |
    | chasedots | [ ] | [ ] |
    | chaselinks | [ ] | [ ] |
    | nocheckjobs | [ ] | [ X ] |
    | nocheckrunningjobs | [ ] | [ ] |
    | noclobber | [ ] | [ X ] |
    | combiningchars | [ ] | [ X ] |
    | completealiases | [ ] | [ ] |
    | completeinword | [ X ] | [ X ] |
    | continueonerror | [ ] | [ ] |
    | correct | [ ] | [ X ] |
    | correctall | [ ] | [ ] |
    | cprecedences | [ ] | [ ] |
    | cshjunkiehistory | [ ] | [ ] |
    | cshjunkieloops | [ ] | [ ] |
    | cshjunkiequotes | [ ] | [ ] |
    | cshnullcmd | [ ] | [ ] |
    | cshnullglob | [ ] | [ ] |
    | nodebugbeforecmd | [ ] | [ ] |
    | dvorak | [ ] | [ ] |
    | emacs | [ ] | [ ] |
    | noequals | [ ] | [ ] |
    | errexit | [ ] | [ ] |
    | errreturn | [ ] | [ ] |
    | noevallineno | [ ] | [ ] |
    | noexec | [ ] | [ ] |
    | extendedglob | [ ] | [ X ] |
    | extendedhistory | [ X ] | [ X ] |
    | noflowcontrol | [ X ] | [ X ] |
    | forcefloat | [ ] | [ ] |
    | nofunctionargzero | [ ] | [ ] |
    | noglob | [ ] | [ ] |
    | noglobalexport | [ ] | [ ] |
    | noglobalrcs | [ ] | [ ] |
    | globassign | [ ] | [ ] |
    | globcomplete | [ ] | [ ] |
    | globdots | [ ] | [ ] |
    | globstarshort | [ ] | [ ] |
    | globsubst | [ ] | [ ] |
    | nohashcmds | [ ] | [ ] |
    | nohashdirs | [ ] | [ ] |
    | hashexecutablesonly | [ ] | [ ] |
    | nohashlistall | [ ] | [ ] |
    | histallowclobber | [ ] | [ ] |
    | nohistbeep | [ ] | [ ] |
    | histexpiredupsfirst | [ X ] | [ X ] |
    | histfcntllock | [ ] | [ ] |
    | histfindnodups | [ ] | [ X ] |
    | histignorealldups | [ ] | [ X ] |
    | histignoredups | [ X ] | [ X ] |
    | histignorespace | [ X ] | [ X ] |
    | histlexwords | [ ] | [ ] |
    | histnofunctions | [ ] | [ ] |
    | histnostore | [ ] | [ ] |
    | histreduceblanks | [ ] | [ ] |
    | nohistsavebycopy | [ ] | [ ] |
    | histsavenodups | [ ] | [ X ] |
    | histsubstpattern | [ ] | [ ] |
    | histverify | [ X ] | [ X ] |
    | nohup | [ ] | [ X ] |
    | ignorebraces | [ ] | [ ] |
    | ignoreclosebraces | [ ] | [ ] |
    | ignoreeof | [ ] | [ ] |
    | incappendhistory | [ X ] | [ ] |
    | incappendhistorytime | [ ] | [ ] |
    | interactive | [ X ] | [ X ] |
    | interactivecomments | [ X ] | [ X ] |
    | ksharrays | [ ] | [ ] |
    | kshautoload | [ ] | [ ] |
    | kshglob | [ ] | [ ] |
    | kshoptionprint | [ ] | [ ] |
    | kshtypeset | [ ] | [ ] |
    | kshzerosubscript | [ ] | [ ] |
    | nolistambiguous | [ ] | [ ] |
    | nolistbeep | [ ] | [ ] |
    | listpacked | [ ] | [ ] |
    | listrowsfirst | [ ] | [ ] |
    | nolisttypes | [ ] | [ ] |
    | localloops | [ ] | [ ] |
    | localoptions | [ ] | [ ] |
    | localpatterns | [ ] | [ ] |
    | localtraps | [ ] | [ ] |
    | login | [ X ] | [ X ] |
    | longlistjobs | [ X ] | [ X ] |
    | magicequalsubst | [ ] | [ ] |
    | mailwarning | [ ] | [ ] |
    | markdirs | [ ] | [ ] |
    | menucomplete | [ ] | [ ] |
    | monitor | [ X ] | [ X ] |
    | nomultibyte | [ ] | [ ] |
    | nomultifuncdef | [ ] | [ ] |
    | nomultios | [ ] | [ ] |
    | nonomatch | [ ] | [ ] |
    | nonotify | [ ] | [ ] |
    | nullglob | [ ] | [ ] |
    | numericglobsort | [ ] | [ ] |
    | octalzeroes | [ ] | [ ] |
    | overstrike | [ ] | [ ] |
    | pathdirs | [ ] | [ X ] |
    | pathscript | [ ] | [ ] |
    | pipefail | [ ] | [ ] |
    | posixaliases | [ ] | [ ] |
    | posixargzero | [ ] | [ ] |
    | posixbuiltins | [ ] | [ ] |
    | posixcd | [ ] | [ ] |
    | posixidentifiers | [ ] | [ ] |
    | posixjobs | [ ] | [ ] |
    | posixstrings | [ ] | [ ] |
    | posixtraps | [ ] | [ ] |
    | printeightbit | [ ] | [ ] |
    | printexitvalue | [ ] | [ ] |
    | privileged | [ ] | [ ] |
    | promptbang | [ ] | [ ] |
    | nopromptcr | [ ] | [ ] |
    | nopromptpercent | [ ] | [ ] |
    | nopromptsp | [ ] | [ ] |
    | promptsubst | [ X ] | [ X ] |
    | pushdignoredups | [ X ] | [ X ] |
    | pushdminus | [ X ] | [ ] |
    | pushdsilent | [ ] | [ X ] |
    | pushdtohome | [ ] | [ X ] |
    | rcexpandparam | [ ] | [ ] |
    | rcquotes | [ ] | [ X ] |
    | norcs | [ ] | [ ] |
    | recexact | [ ] | [ ] |
    | rematchpcre | [ ] | [ ] |
    | restricted | [ ] | [ ] |
    | rmstarsilent | [ ] | [ ] |
    | rmstarwait | [ ] | [ ] |
    | sharehistory | [ X ] | [ X ] |
    | shfileexpansion | [ ] | [ ] |
    | shglob | [ ] | [ ] |
    | shinstdin | [ X ] | [ X ] |
    | shnullcmd | [ ] | [ ] |
    | shoptionletters | [ ] | [ ] |
    | noshortloops | [ ] | [ ] |
    | shwordsplit | [ ] | [ ] |
    | singlecommand | [ ] | [ ] |
    | singlelinezle | [ ] | [ ] |
    | sourcetrace | [ ] | [ ] |
    | sunkeyboardhack | [ ] | [ ] |
    | transientrprompt | [ ] | [ ] |
    | trapsasync | [ ] | [ ] |
    | typesetsilent | [ ] | [ ] |
    | nounset | [ ] | [ ] |
    | verbose | [ ] | [ ] |
    | vi | [ ] | [ ] |
    | warncreateglobal | [ ] | [ ] |
    | warnnestedvar | [ ] | [ ] |
    | xtrace | [ ] | [ ] |
    | zle | [ X ] | [ X ] |
    zsh `set -o` to see which options are set per each zsh framework

    | zsh option | oh-my-zsh | prezto |
    |:---------------------|:-------------------------:|:-------------------------:|
    | noaliases | | |
    | aliasfuncdef | | |
    | allexport | | |
    | noalwayslastprompt | | |
    | alwaystoend | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | appendcreate | | |
    | noappendhistory | | |
    | autocd | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | autocontinue | | |
    | noautolist | | |
    | noautomenu | | |
    | autonamedirs | | |
    | noautoparamkeys | | |
    | noautoparamslash | | |
    | autopushd | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noautoremoveslash | | |
    | autoresume | | <ul><li> - [x] </li></ul> |
    | nobadpattern | | |
    | nobanghist | | |
    | nobareglobqual | | |
    | bashautolist | | |
    | bashrematch | | |
    | nobeep | | |
    | nobgnice | | <ul><li> - [x] </li></ul> |
    | braceccl | | |
    | bsdecho | | |
    | nocaseglob | | <ul><li> - [x] </li></ul> |
    | nocasematch | | |
    | cbases | | |
    | cdablevars | | <ul><li> - [x] </li></ul> |
    | chasedots | | |
    | chaselinks | | |
    | nocheckjobs | | <ul><li> - [x] </li></ul> |
    | nocheckrunningjobs | | |
    | noclobber | | <ul><li> - [x] </li></ul> |
    | combiningchars | | <ul><li> - [x] </li></ul> |
    | completealiases | | |
    | completeinword | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | continueonerror | | |
    | correct | | <ul><li> - [x] </li></ul> |
    | correctall | | |
    | cprecedences | | |
    | cshjunkiehistory | | |
    | cshjunkieloops | | |
    | cshjunkiequotes | | |
    | cshnullcmd | | |
    | cshnullglob | | |
    | nodebugbeforecmd | | |
    | dvorak | | |
    | emacs | | |
    | noequals | | |
    | errexit | | |
    | errreturn | | |
    | noevallineno | | |
    | noexec | | |
    | extendedglob | | <ul><li> - [x] </li></ul> |
    | extendedhistory | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | noflowcontrol | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | forcefloat | | |
    | nofunctionargzero | | |
    | noglob | | |
    | noglobalexport | | |
    | noglobalrcs | | |
    | globassign | | |
    | globcomplete | | |
    | globdots | | |
    | globstarshort | | |
    | globsubst | | |
    | nohashcmds | | |
    | nohashdirs | | |
    | hashexecutablesonly | | |
    | nohashlistall | | |
    | histallowclobber | | |
    | nohistbeep | | |
    | histexpiredupsfirst | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histfcntllock | | |
    | histfindnodups | | <ul><li> - [x] </li></ul> |
    | histignorealldups | | <ul><li> - [x] </li></ul> |
    | histignoredups | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histignorespace | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | histlexwords | | |
    | histnofunctions | | |
    | histnostore | | |
    | histreduceblanks | | |
    | nohistsavebycopy | | |
    | histsavenodups | | <ul><li> - [x] </li></ul> |
    | histsubstpattern | | |
    | histverify | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nohup | | <ul><li> - [x] </li></ul> |
    | ignorebraces | | |
    | ignoreclosebraces | | |
    | ignoreeof | | |
    | incappendhistory | <ul><li> - [x] </li></ul> | |
    | incappendhistorytime | | |
    | interactive | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | interactivecomments | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | ksharrays | | |
    | kshautoload | | |
    | kshglob | | |
    | kshoptionprint | | |
    | kshtypeset | | |
    | kshzerosubscript | | |
    | nolistambiguous | | |
    | nolistbeep | | |
    | listpacked | | |
    | listrowsfirst | | |
    | nolisttypes | | |
    | localloops | | |
    | localoptions | | |
    | localpatterns | | |
    | localtraps | | |
    | login | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | longlistjobs | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | magicequalsubst | | |
    | mailwarning | | |
    | markdirs | | |
    | menucomplete | | |
    | monitor | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | nomultibyte | | |
    | nomultifuncdef | | |
    | nomultios | | |
    | nonomatch | | |
    | nonotify | | |
    | nullglob | | |
    | numericglobsort | | |
    | octalzeroes | | |
    | overstrike | | |
    | pathdirs | | <ul><li> - [x] </li></ul> |
    | pathscript | | |
    | pipefail | | |
    | posixaliases | | |
    | posixargzero | | |
    | posixbuiltins | | |
    | posixcd | | |
    | posixidentifiers | | |
    | posixjobs | | |
    | posixstrings | | |
    | posixtraps | | |
    | printeightbit | | |
    | printexitvalue | | |
    | privileged | | |
    | promptbang | | |
    | nopromptcr | | |
    | nopromptpercent | | |
    | nopromptsp | | |
    | promptsubst | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdignoredups | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | pushdminus | <ul><li> - [x] </li></ul> | |
    | pushdsilent | | <ul><li> - [x] </li></ul> |
    | pushdtohome | | <ul><li> - [x] </li></ul> |
    | rcexpandparam | | |
    | rcquotes | | <ul><li> - [x] </li></ul> |
    | norcs | | |
    | recexact | | |
    | rematchpcre | | |
    | restricted | | |
    | rmstarsilent | | |
    | rmstarwait | | |
    | sharehistory | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shfileexpansion | | |
    | shglob | | |
    | shinstdin | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
    | shnullcmd | | |
    | shoptionletters | | |
    | noshortloops | | |
    | shwordsplit | | |
    | singlecommand | | |
    | singlelinezle | | |
    | sourcetrace | | |
    | sunkeyboardhack | | |
    | transientrprompt | | |
    | trapsasync | | |
    | typesetsilent | | |
    | nounset | | |
    | verbose | | |
    | vi | | |
    | warncreateglobal | | |
    | warnnestedvar | | |
    | xtrace | | |
    | zle | <ul><li> - [x] </li></ul> | <ul><li> - [x] </li></ul> |
  12. @mattmc3 mattmc3 created this gist Oct 8, 2019.
    182 changes: 182 additions & 0 deletions setopt.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,182 @@
    | zsh option | oh-my-zsh | prezto |
    |:---------------------|:---------:|:------:|
    | noaliases | [ ] | [ ] |
    | aliasfuncdef | [ ] | [ ] |
    | allexport | [ ] | [ ] |
    | noalwayslastprompt | [ ] | [ ] |
    | alwaystoend | [ X ] | [ X ] |
    | appendcreate | [ ] | [ ] |
    | noappendhistory | [ ] | [ ] |
    | autocd | [ X ] | [ X ] |
    | autocontinue | [ ] | [ ] |
    | noautolist | [ ] | [ ] |
    | noautomenu | [ ] | [ ] |
    | autonamedirs | [ ] | [ ] |
    | noautoparamkeys | [ ] | [ ] |
    | noautoparamslash | [ ] | [ ] |
    | autopushd | [ X ] | [ X ] |
    | noautoremoveslash | [ ] | [ ] |
    | autoresume | [ ] | [ X ] |
    | nobadpattern | [ ] | [ ] |
    | nobanghist | [ ] | [ ] |
    | nobareglobqual | [ ] | [ ] |
    | bashautolist | [ ] | [ ] |
    | bashrematch | [ ] | [ ] |
    | nobeep | [ ] | [ ] |
    | nobgnice | [ ] | [ X ] |
    | braceccl | [ ] | [ ] |
    | bsdecho | [ ] | [ ] |
    | nocaseglob | [ ] | [ X ] |
    | nocasematch | [ ] | [ ] |
    | cbases | [ ] | [ ] |
    | cdablevars | [ ] | [ X ] |
    | chasedots | [ ] | [ ] |
    | chaselinks | [ ] | [ ] |
    | nocheckjobs | [ ] | [ X ] |
    | nocheckrunningjobs | [ ] | [ ] |
    | noclobber | [ ] | [ X ] |
    | combiningchars | [ ] | [ X ] |
    | completealiases | [ ] | [ ] |
    | completeinword | [ X ] | [ X ] |
    | continueonerror | [ ] | [ ] |
    | correct | [ ] | [ X ] |
    | correctall | [ ] | [ ] |
    | cprecedences | [ ] | [ ] |
    | cshjunkiehistory | [ ] | [ ] |
    | cshjunkieloops | [ ] | [ ] |
    | cshjunkiequotes | [ ] | [ ] |
    | cshnullcmd | [ ] | [ ] |
    | cshnullglob | [ ] | [ ] |
    | nodebugbeforecmd | [ ] | [ ] |
    | dvorak | [ ] | [ ] |
    | emacs | [ ] | [ ] |
    | noequals | [ ] | [ ] |
    | errexit | [ ] | [ ] |
    | errreturn | [ ] | [ ] |
    | noevallineno | [ ] | [ ] |
    | noexec | [ ] | [ ] |
    | extendedglob | [ ] | [ X ] |
    | extendedhistory | [ X ] | [ X ] |
    | noflowcontrol | [ X ] | [ X ] |
    | forcefloat | [ ] | [ ] |
    | nofunctionargzero | [ ] | [ ] |
    | noglob | [ ] | [ ] |
    | noglobalexport | [ ] | [ ] |
    | noglobalrcs | [ ] | [ ] |
    | globassign | [ ] | [ ] |
    | globcomplete | [ ] | [ ] |
    | globdots | [ ] | [ ] |
    | globstarshort | [ ] | [ ] |
    | globsubst | [ ] | [ ] |
    | nohashcmds | [ ] | [ ] |
    | nohashdirs | [ ] | [ ] |
    | hashexecutablesonly | [ ] | [ ] |
    | nohashlistall | [ ] | [ ] |
    | histallowclobber | [ ] | [ ] |
    | nohistbeep | [ ] | [ ] |
    | histexpiredupsfirst | [ X ] | [ X ] |
    | histfcntllock | [ ] | [ ] |
    | histfindnodups | [ ] | [ X ] |
    | histignorealldups | [ ] | [ X ] |
    | histignoredups | [ X ] | [ X ] |
    | histignorespace | [ X ] | [ X ] |
    | histlexwords | [ ] | [ ] |
    | histnofunctions | [ ] | [ ] |
    | histnostore | [ ] | [ ] |
    | histreduceblanks | [ ] | [ ] |
    | nohistsavebycopy | [ ] | [ ] |
    | histsavenodups | [ ] | [ X ] |
    | histsubstpattern | [ ] | [ ] |
    | histverify | [ X ] | [ X ] |
    | nohup | [ ] | [ X ] |
    | ignorebraces | [ ] | [ ] |
    | ignoreclosebraces | [ ] | [ ] |
    | ignoreeof | [ ] | [ ] |
    | incappendhistory | [ X ] | [ ] |
    | incappendhistorytime | [ ] | [ ] |
    | interactive | [ X ] | [ X ] |
    | interactivecomments | [ X ] | [ X ] |
    | ksharrays | [ ] | [ ] |
    | kshautoload | [ ] | [ ] |
    | kshglob | [ ] | [ ] |
    | kshoptionprint | [ ] | [ ] |
    | kshtypeset | [ ] | [ ] |
    | kshzerosubscript | [ ] | [ ] |
    | nolistambiguous | [ ] | [ ] |
    | nolistbeep | [ ] | [ ] |
    | listpacked | [ ] | [ ] |
    | listrowsfirst | [ ] | [ ] |
    | nolisttypes | [ ] | [ ] |
    | localloops | [ ] | [ ] |
    | localoptions | [ ] | [ ] |
    | localpatterns | [ ] | [ ] |
    | localtraps | [ ] | [ ] |
    | login | [ X ] | [ X ] |
    | longlistjobs | [ X ] | [ X ] |
    | magicequalsubst | [ ] | [ ] |
    | mailwarning | [ ] | [ ] |
    | markdirs | [ ] | [ ] |
    | menucomplete | [ ] | [ ] |
    | monitor | [ X ] | [ X ] |
    | nomultibyte | [ ] | [ ] |
    | nomultifuncdef | [ ] | [ ] |
    | nomultios | [ ] | [ ] |
    | nonomatch | [ ] | [ ] |
    | nonotify | [ ] | [ ] |
    | nullglob | [ ] | [ ] |
    | numericglobsort | [ ] | [ ] |
    | octalzeroes | [ ] | [ ] |
    | overstrike | [ ] | [ ] |
    | pathdirs | [ ] | [ X ] |
    | pathscript | [ ] | [ ] |
    | pipefail | [ ] | [ ] |
    | posixaliases | [ ] | [ ] |
    | posixargzero | [ ] | [ ] |
    | posixbuiltins | [ ] | [ ] |
    | posixcd | [ ] | [ ] |
    | posixidentifiers | [ ] | [ ] |
    | posixjobs | [ ] | [ ] |
    | posixstrings | [ ] | [ ] |
    | posixtraps | [ ] | [ ] |
    | printeightbit | [ ] | [ ] |
    | printexitvalue | [ ] | [ ] |
    | privileged | [ ] | [ ] |
    | promptbang | [ ] | [ ] |
    | nopromptcr | [ ] | [ ] |
    | nopromptpercent | [ ] | [ ] |
    | nopromptsp | [ ] | [ ] |
    | promptsubst | [ X ] | [ X ] |
    | pushdignoredups | [ X ] | [ X ] |
    | pushdminus | [ X ] | [ ] |
    | pushdsilent | [ ] | [ X ] |
    | pushdtohome | [ ] | [ X ] |
    | rcexpandparam | [ ] | [ ] |
    | rcquotes | [ ] | [ X ] |
    | norcs | [ ] | [ ] |
    | recexact | [ ] | [ ] |
    | rematchpcre | [ ] | [ ] |
    | restricted | [ ] | [ ] |
    | rmstarsilent | [ ] | [ ] |
    | rmstarwait | [ ] | [ ] |
    | sharehistory | [ X ] | [ X ] |
    | shfileexpansion | [ ] | [ ] |
    | shglob | [ ] | [ ] |
    | shinstdin | [ X ] | [ X ] |
    | shnullcmd | [ ] | [ ] |
    | shoptionletters | [ ] | [ ] |
    | noshortloops | [ ] | [ ] |
    | shwordsplit | [ ] | [ ] |
    | singlecommand | [ ] | [ ] |
    | singlelinezle | [ ] | [ ] |
    | sourcetrace | [ ] | [ ] |
    | sunkeyboardhack | [ ] | [ ] |
    | transientrprompt | [ ] | [ ] |
    | trapsasync | [ ] | [ ] |
    | typesetsilent | [ ] | [ ] |
    | nounset | [ ] | [ ] |
    | verbose | [ ] | [ ] |
    | vi | [ ] | [ ] |
    | warncreateglobal | [ ] | [ ] |
    | warnnestedvar | [ ] | [ ] |
    | xtrace | [ ] | [ ] |
    | zle | [ X ] | [ X ] |