1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-22 07:20:59 +02:00

Add a test for DOTENV_HANDLE_LEAVE=0

This commit is contained in:
Daniel Hahler 2014-11-15 15:25:20 +01:00
parent 4676713bc6
commit 1d3e5b69a7

View File

@ -78,3 +78,13 @@ Now check with subdirs, not looking at parent dirs.
$ cd child
$ cd ../..
LEFT
Test that .env is sourced only once with DOTENV_HANDLE_LEAVE=0.
$ unset _dotenv_stack_entered
$ DOTENV_HANDLE_LEAVE=0
$ cd sub
ENTERED
$ cd ..
$ cd sub