diff --git a/.config/shell/utils.d/update.sh b/.config/shell/utils.d/update.sh index e320562..cae7bae 100644 --- a/.config/shell/utils.d/update.sh +++ b/.config/shell/utils.d/update.sh @@ -59,7 +59,7 @@ _update_repositories() { ZSH_DOTENV_FILE='.env' - _command_exists pass && echo "Fetching $XDG_DATA_HOME/pass" && pass git pull + _command_exists pass && [ -d "$XDG_DATA_HOME/pass" ] && echo "Fetching $XDG_DATA_HOME/pass" && pass git pull _update_dotfiles cd $cwd