From e7e22d34089619349eaed54b213d575742748ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Sun, 18 Jan 2026 21:53:18 +0100 Subject: zsh: even bigger rewrite don't... worry about it I spent basically all day between this and monster hunter. --- dot_config/zsh/zshrc.options | 78 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 dot_config/zsh/zshrc.options (limited to 'dot_config/zsh/zshrc.options') 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 -- cgit v1.2.3