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:
parent
8a68f18e96
commit
296ddc6462
2 changed files with 20 additions and 20 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue