From e4e1afe1e53cb436d798ccc724ae9ca94f11736b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Mon, 26 Jan 2026 21:11:47 +0100 Subject: zsh: move promptinit to before compinit it just feels like it should be here, not there --- dot_config/zsh/zshrc | 14 +++++++------- 1 file 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 +} -- cgit v1.2.3