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.
ZSH - options by framework

zsh set -o to see which options are set per each zsh framework

zsh options reference

zsh option category oh-my-zsh prezto
noaliases Input/Output
aliasfuncdef Scripts and Functions
allexport Initialization
noalwayslastprompt Completion
alwaystoend Completion
appendcreate Shell Emulation
noappendhistory History
autocd Changing Directories
autocontinue Job Control
noautolist Completion
noautomenu Completion
autonamedirs Completion
noautoparamkeys Completion
noautoparamslash Completion
autopushd Changing Directories
noautoremoveslash Completion
autoresume Job Control
nobadpattern Expansion and Globbing
nobanghist History
nobareglobqual Expansion and Globbing
bashautolist Completion
bashrematch Shell Emulation
nobeep Zle
nobgnice Job Control
braceccl Expansion and Globbing
bsdecho Shell Emulation
nocaseglob Expansion and Globbing
nocasematch Expansion and Globbing
cbases Scripts and Functions
cdablevars Changing Directories
chasedots Changing Directories
chaselinks Changing Directories
nocheckjobs Job Control
nocheckrunningjobs Job Control
noclobber Input/Output
combiningchars Zle
completealiases Completion
completeinword Completion
continueonerror Shell Emulation
correct Input/Output
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
extendedhistory History
noflowcontrol Input/Output
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
histfcntllock History
histfindnodups History
histignorealldups History
histignoredups History
histignorespace History
histlexwords History
histnofunctions History
histnostore History
histreduceblanks History
nohistsavebycopy History
histsavenodups History
histsubstpattern Expansion and Globbing
histverify History
nohup Job Control
ignorebraces Expansion and Globbing
ignoreclosebraces Expansion and Globbing
ignoreeof Input/Output
incappendhistory History
incappendhistorytime History
interactive Shell State
interactivecomments Input/Output
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
longlistjobs Job Control
magicequalsubst Expansion and Globbing
mailwarning Input/Output
markdirs Expansion and Globbing
menucomplete Completion
monitor Job Control
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
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
pushdignoredups Changing Directories
pushdminus Changing Directories
pushdsilent Changing Directories
pushdtohome Changing Directories
rcexpandparam Expansion and Globbing
rcquotes Input/Output
norcs Initialization
recexact Completion
rematchpcre Expansion and Globbing
restricted Shell State
rmstarsilent Input/OutPromptingut
rmstarwait Input/Output
sharehistory History
shfileexpansion Shell Emulation
shglob Expansion and Globbing
shinstdin Shell State
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment