1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2025-12-16 19:15:13 +02:00

tests: streamline ZDOTDIR layout, AUTOENV_ENV_FILENAME via setup

Without this, a new subshell would reset the env authentication file.
This commit is contained in:
Daniel Hahler
2015-04-24 17:33:09 +02:00
parent d62fbffad3
commit fd54606830
5 changed files with 10 additions and 18 deletions

View File

@@ -1,7 +1,3 @@
test -f "$TESTDIR/.zcompdump" && rm "$TESTDIR/.zcompdump"
# Base setup/config.
AUTOENV_DEBUG=0
export AUTOENV_ENV_FILENAME="$PWD/.env_auth"
echo -n > $AUTOENV_ENV_FILENAME
TEST_SOURCE_AUTOENV=(source $TESTDIR/../autoenv.plugin.zsh)