From f6113cd729d316a87cf53e3f4aa6b6e35c1b22a6 Mon Sep 17 00:00:00 2001 From: Ben Kreeger Date: Sat, 27 Sep 2025 19:21:58 -0500 Subject: [PATCH] Support for cloning into devcontainer --- zsh/zprofile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh/zprofile b/zsh/zprofile index f51aca5..c3fceca 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 +elif [[ -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