diff --git a/zsh/zprofile b/zsh/zprofile index f51aca5..03cd08e 100644 --- a/zsh/zprofile +++ b/zsh/zprofile @@ -1,6 +1,11 @@ # vim: filetype=zsh -SCRIPTPATH=$HOME/.config/dotfiles/zsh +if [[ -d $HOME/.config/dotfiles/zsh ]]; then + SCRIPTPATH=$HOME/.config/dotfiles/zsh +else if [[ -d $HOME/dotfiles/zsh ]]; then + SCRIPTPATH=$HOME/dotfiles/zsh +fi + ZSH_CACHE_DIR="$HOME/.cache/zsh" # Let GPG know which tty we're using and put in charge of SSH auth