Mercurial > dotfiles
diff dot_zshrc @ 666:c6b8132ce55f
fix order of loading zsh scripts
author | zegervdv <zegervdv@me.com> |
---|---|
date | Tue, 27 Sep 2022 20:19:49 +0200 |
parents | a061086e1172 |
children | 1da48e5c51cf |
line wrap: on
line diff
--- a/dot_zshrc Tue Sep 27 20:09:26 2022 +0200 +++ b/dot_zshrc Tue Sep 27 20:19:49 2022 +0200 @@ -234,6 +234,9 @@ export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' +[ -f ~/.zshrc.local ] && source ~/.zshrc.local + +# Must run after brew is loaded if command -v brew &> /dev/null then source $(brew --prefix asdf)/libexec/asdf.sh @@ -244,9 +247,6 @@ source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" fi -[ -f ~/.zshrc.local ] && source ~/.zshrc.local - -# Must run after brew is loaded export SUDO_EDITOR=$(which nvim) eval "$(direnv hook zsh)"