zsh: adjust initContent priorities (#6676)

To support easier migration of deprecating old zsh options. We can
adjust the internal priorities to fit within the `mkBefore` (500) and
default (1000). Makes it easier for `initExtraFirst` migrationg to
`mkBefore` and `initExtra` to default prio.
This commit is contained in:
Austin Horstman 2025-03-21 15:17:13 -05:00 committed by GitHub
parent 8a68f18e96
commit 296ddc6462
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 20 deletions

View file

@ -39,9 +39,6 @@
HELPDIR="@zsh@/share/zsh/$ZSH_VERSION/help"
autoload -U compinit && compinit
# Default priority
echo "Default priority content"
# History options should be set in .zshrc and after oh-my-zsh sourcing.
# See https://github.com/nix-community/home-manager/issues/177.
HISTSIZE="10000"
@ -62,6 +59,9 @@
unsetopt EXTENDED_HISTORY
# Default priority
echo "Default priority content"
zprof
# Low priority (mkAfter)
echo "Low priority content"