mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 23:40:58 +02:00
Create $AUTHENV_ENV_FILENAME if it does not exist
This commit is contained in:
parent
d6fbb13451
commit
e8e7ca7e7d
@ -2,6 +2,7 @@
|
|||||||
# 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
|
export AUTOENV_ENV_FILENAME=$HOME/.env_auth
|
||||||
|
[ -e $AUTOENV_ENV_FILENAME ] || touch $AUTOENV_ENV_FILENAME
|
||||||
|
|
||||||
# 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}
|
||||||
|
Loading…
Reference in New Issue
Block a user