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

Do not reset the stack variables when (re)sourcing the plugin

This is meant to keep the current state when re-sourcing the shell
config (`. ~/.zshrc`).

Closes https://github.com/Tarrasch/zsh-autoenv/pull/24
This commit is contained in:
Daniel Hahler
2015-03-15 22:10:50 +01:00
parent 611c1a1588
commit 9a010cbdf6
4 changed files with 12 additions and 4 deletions

View File

@@ -2,7 +2,6 @@ test -f "$TESTDIR/.zcompdump" && rm "$TESTDIR/.zcompdump"
AUTOENV_DEBUG=0
source "$TESTDIR/../autoenv.plugin.zsh"
export AUTOENV_ENV_FILENAME="$PWD/.env_auth"
echo -n > $AUTOENV_ENV_FILENAME