1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-22 15:30:59 +02:00

Do not export AUTOENV_ENV_FILENAME, and use existing value

This commit is contained in:
Daniel Hahler 2015-04-24 17:28:09 +02:00
parent bf1376fd8f
commit d62fbffad3

View File

@ -1,8 +1,8 @@
# Initially based on # Initially based on
# https://github.com/joshuaclayton/dotfiles/blob/master/zsh_profile.d/autoenv.zsh # https://github.com/joshuaclayton/dotfiles/blob/master/zsh_profile.d/autoenv.zsh
export AUTOENV_ENV_FILENAME=$HOME/.env_auth # File to store confirmed authentication into.
[ -e $AUTOENV_ENV_FILENAME ] || touch $AUTOENV_ENV_FILENAME : ${AUTOENV_ENV_FILENAME:=~/.env_auth}
# Name of file to look for when entering directories. # Name of file to look for when entering directories.
: ${AUTOENV_FILE_ENTER:=.env} : ${AUTOENV_FILE_ENTER:=.env}