From a5c63411332edaabe5ac9df4da104e093bb42589 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 2 May 2019 22:12:03 -0400 Subject: [PATCH] Update env_loader to work with new path. --- zsh/zshenv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/zshenv b/zsh/zshenv index 6085844..ea824eb 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -65,11 +65,11 @@ export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -100'" # Auto suggestion config ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7" -# This will load the specified zsh files if they exist in the $ZDIR/env directory. +# This will load the specified zsh files if they exist in the $ZDIR/environment directory. # It will load based on hostname & uname. env_loader(){ - [ -e ${ZDIR}/env/$OSTYPE/$1 ] && source ${ZDIR}/env/$OSTYPE/$1 - [ -e ${ZDIR}/env/$HOST/$1 ] && source ${ZDIR}/env/$HOST/$1 + [ -e ${ZDIR}/environment/$OSTYPE/$1 ] && source ${ZDIR}/environment/$OSTYPE/$1 + [ -e ${ZDIR}/environment/$HOST/$1 ] && source ${ZDIR}/environment/$HOST/$1 } user_script_dir="~/.scripts"