# HG changeset patch # User zegervdv # Date 1664302789 -7200 # Node ID c6b8132ce55fcde308257c4e5dc55bbc1481fcd3 # Parent a56cc75911b01e753e3d9760fe9e58281dbdabfb fix order of loading zsh scripts diff -r a56cc75911b0 -r c6b8132ce55f .chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl Tue Sep 27 20:09:26 2022 +0200 +++ b/.chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl Tue Sep 27 20:19:49 2022 +0200 @@ -17,5 +17,6 @@ asdf_plugin_add direnv asdf install +asdf reshim {{ end -}} diff -r a56cc75911b0 -r c6b8132ce55f dot_zshrc --- 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)"