From 0570a520b33f63194ed7ecc66d3930b3f50a1d65 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Sun, 3 Jul 2022 21:26:25 -0400 Subject: [PATCH] Fixing zshehnv not being loaded --- dot_config/zsh/dot_zshrc.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dot_config/zsh/dot_zshrc.tmpl b/dot_config/zsh/dot_zshrc.tmpl index c70089d..61f6810 100644 --- a/dot_config/zsh/dot_zshrc.tmpl +++ b/dot_config/zsh/dot_zshrc.tmpl @@ -1,3 +1,10 @@ +# This is sort of hacky and not sure why it's necessary +# I assumed ~/.zshenv is utilized for all systems but this may not be true? +# Need to investigate when I have time +if [ -z "$TMUX_TMPDIR" ]; then + source $HOME/.zshenv +fi + # load custom executable functions for function in "$ZDOTDIR"/functions/*; do source $function