summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zshrc.options
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-18 21:53:18 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-18 21:53:18 +0100
commite7e22d34089619349eaed54b213d575742748ce5 (patch)
tree532853f56020d0ba1b848c9e41662a1bf2ad7ade /dot_config/zsh/zshrc.options
parentzsh: ignore local files (diff)
zsh: even bigger rewrite
don't... worry about it I spent basically all day between this and monster hunter.
Diffstat (limited to '')
-rw-r--r--dot_config/zsh/zshrc.options78
1 files changed, 78 insertions, 0 deletions
diff --git a/dot_config/zsh/zshrc.options b/dot_config/zsh/zshrc.options
new file mode 100644
index 0000000..c32f3e6
--- /dev/null
+++ b/dot_config/zsh/zshrc.options
@@ -0,0 +1,78 @@
+# vim: ft=zsh
+### Options
+# Almost all options are set explicitly
+## Changing Directories
+# TODO: consider -T
+setopt -JED +NTw
+setopt nocdsilent nochasedots noposixcd pushdignoredups
+
+## Completion
+setopt -9X +SY
+setopt alwayslastprompt noalwaystoend automenu autonamedirs autoparamkeys
+setopt autoparamslash autoremoveslash nobashautolist completealiases
+setopt completeinword noglobcomplete nohashlistall listambiguous nolistbeep
+setopt listpacked listrowsfirst
+
+## Expansion and Globbing
+setopt -3GP +2F4I8u
+setopt bareglobqual nobraceccl caseglob casematch nocasepaths nocshnullglob
+# TODO: consider forcefloat, globassign
+setopt equals extendedglob noforcefloat noglobassign globstarshort noglobsubst
+setopt nohistsubstpattern noignoreclosebraces nokshglob nomagicequalsubst
+setopt multibyte numericglobsort rematchpcre noshglob
+setopt warncreateglobal nowarnnestedvar
+
+## History
+setopt -hg +K
+setopt appendhistory noextendedhistory nohistallowclobber nohistbeep
+setopt histexpiredupsfirst histfcntllock histfindnodups nohistignorealldups
+setopt histlexwords nohistnofunctions histnostore histreduceblanks
+setopt histsavebycopy histsavenodups histverify noincappendhistory
+setopt noincappendhistorytime nosharehistory
+
+## Initialisation
+# NOTE: +df unspecified on purpose
+setopt +a
+
+## Input/Output
+# NOTE: +1 since that should be handled by the prompt ideally
+setopt -kQ +C0O7U1HL
+# TODO: consider nohashcmds
+setopt aliases clobberempty nodvorak flowcontrol hashcmds hashdirs
+setopt hashexecutablesonly nopathscript noprinteightbit rcquotes normstarwait
+setopt shortloops noshortrepeat
+
+## Job Control
+# TODO: consider -R
+setopt -6m5 +WR
+setopt autocontinue checkjobs checkrunningjobs hup noposixjobs
+
+## Prompting
+setopt +V
+setopt nopromptbang promptsp promptpercent promptsubst transientrprompt
+
+## Scripts and Functions
+setopt +en
+# TODO: consider cprecedences
+setopt noaliasfuncdef cbases nocprecedences debugbeforecmd noerrreturn
+setopt evallineno functionargzero nolocalloops nolocaloptions nolocalpatterns
+setopt nolocaltraps multifuncdef multios nooctalzeroes pipefail
+# NOTE: nosourcetrace, +vx not set for specifying it on the CLI
+setopt notypesetsilent notypesettounset
+
+## Shell Emulation
+setopt +y
+setopt appendcreate nobashrematch nobsdecho nocontinueonerror
+setopt nocshjunkiehistory nocshjunkieloops nocshjunkiequotes nocshnullcmd
+# TODO: consider kshautoload, be sad about kshzerosubscript
+setopt noksharrays nokshautoload kshoptionprint nokshtypeset nokshzerosubscript
+setopt noposixaliases noposixargzero noposixbuiltins noposixidentifiers
+setopt noposixstrings noposixtraps noshfileexpansion noshnullcmd noshoptionletters
+setopt notrapsasync
+
+## Shell State
+# NOTE: Omitted intentionally
+
+## Zle
+setopt -B +M
+# NOTE: Many omitted intentionally