From e8e7ca7e7dc1e3ea8ffdfdf4f44ffd5b831b777a Mon Sep 17 00:00:00 2001 From: Srijan R Shetty Date: Mon, 8 Dec 2014 23:16:27 +0530 Subject: [PATCH] Create $AUTHENV_ENV_FILENAME if it does not exist --- autoenv.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/autoenv.zsh b/autoenv.zsh index f87f350..bcd3af3 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -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}