From 027e8fb5dedbd0143fb3dc5bff85d8aad02bb3f0 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 db77553..8bc39bf 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}