diff options
Diffstat (limited to 'dot_config/zsh/zshrc')
| -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 +} |
