1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-12-22 10:50:16 +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
# 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
# File to store confirmed authentication into.
: ${AUTOENV_ENV_FILENAME:=~/.env_auth}
# Name of file to look for when entering directories.
: ${AUTOENV_FILE_ENTER:=.env}