diff options
| author | 2026-01-26 21:11:47 +0100 | |
|---|---|---|
| committer | 2026-01-26 21:11:47 +0100 | |
| commit | e4e1afe1e53cb436d798ccc724ae9ca94f11736b (patch) | |
| tree | d2257068d6984fa3c4421e4402b83c2d0cdefe82 | |
| parent | zsh: add and migrate to xfirstcmd (diff) | |
zsh: move promptinit to before compinit
it just feels like it should be here, not there
| -rw-r--r-- | dot_config/zsh/zshrc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dot_config/zsh/zshrc b/dot_config/zsh/zshrc index b0428f8..e7a20eb 100644 --- a/dot_config/zsh/zshrc +++ b/dot_config/zsh/zshrc @@ -65,16 +65,16 @@ t() { # setup terminal integration / osc0 xzsource zshrc.{local,post} -# if compinit hasn't ran, run it now -# this way there's at least some minimum compatibility with /etc/zshrc -if (( ! ${+_comps} )) { - autoload -Uz compinit - compinit -i -} - # if promptinit hasn't ran, run it now, and set a default prompt if (( ! ${+functions[prompt]} )) { autoload -Uz promptinit promptinit prompt zstyle fish } + +# if compinit hasn't ran, run it now +# this way there's at least some minimum compatibility with /etc/zshrc +if (( ! ${+_comps} )) { + autoload -Uz compinit + compinit -i +} |
