Skip to content

Commit

Permalink
Merge pull request #172 from eljojo/patch-1
Browse files Browse the repository at this point in the history
Only loading ~/.env-vars file if exists
  • Loading branch information
holman committed Oct 13, 2014
2 parents f5fbf5d + 074bec0 commit 118af52
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 118af52

Please sign in to comment.