Create $AUTHENV_ENV_FILENAME if it does not exist

This commit is contained in:
Srijan R Shetty
2014-12-08 21:45:13 +01:00
committed by Daniel Hahler
parent e567a40592
commit 027e8fb5de
+1
View File
@@ -2,6 +2,7 @@
# https://github.com/joshuaclayton/dotfiles/blob/master/zsh_profile.d/autoenv.zsh
export AUTOENV_ENV_FILENAME=$HOME/.env_auth
[ -e $AUTOENV_ENV_FILENAME ] || touch $AUTOENV_ENV_FILENAME
# Name of file to look for when entering directories.
: ${AUTOENV_FILE_ENTER:=.env}