Skip to content

Commit

Permalink
Only loading ~/.env-vars file if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
eljojo committed Oct 12, 2014
1 parent f5fbf5d commit 074bec0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion private/env-vars.zsh
@@ -1,4 +1,8 @@
# Stash your environment variables in ~/.env-vars. This means they'll stay out
# of your main dotfiles repository (which may be public, like this one), but
# you'll have access to them in your scripts.
source ~/.env-vars
if [[ -a ~/.env-vars ]]
then
source ~/.env-vars
fi

0 comments on commit 074bec0

Please sign in to comment.