Do not load zshsecrets if it does not exist

This commit is contained in:
Rob Watson 2021-04-21 17:08:29 +02:00
parent 70224f8e71
commit 5e5fec58db
1 changed files with 3 additions and 1 deletions

4
zshenv
View File

@ -28,6 +28,8 @@ export BAT_THEME=Nord
export PGUSER=postgres
# See `installdotfiles`:
source "$ZDOTDIR/.zshsecrets"
if [ -f ¨$ZDOTDIR/.zshsecrets¨ ]; then
source "$ZDOTDIR/.zshsecrets"
fi
source "$HOME/.cargo/env"