mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2025-12-14 10:15:12 +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:
@@ -1,11 +1,7 @@
|
||||
test -f "$TESTDIR/.zcompdump" && rm "$TESTDIR/.zcompdump"
|
||||
|
||||
AUTOENV_DEBUG=0
|
||||
# Source base setup.
|
||||
source ${ZDOTDIR}/../ZDOTDIR/.zshenv
|
||||
|
||||
antigen-like-loader-function() {
|
||||
source "$TESTDIR/../autoenv.plugin.zsh"
|
||||
}
|
||||
|
||||
export AUTOENV_ENV_FILENAME="$PWD/.env_auth"
|
||||
|
||||
echo -n > $AUTOENV_ENV_FILENAME
|
||||
TEST_SOURCE_AUTOENV=antigen-like-loader-function
|
||||
|
||||
Reference in New Issue
Block a user