mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 23:40:58 +02:00
Add a test for DOTENV_HANDLE_LEAVE=0
This commit is contained in:
parent
4676713bc6
commit
1d3e5b69a7
@ -78,3 +78,13 @@ Now check with subdirs, not looking at parent dirs.
|
|||||||
$ cd child
|
$ cd child
|
||||||
$ cd ../..
|
$ cd ../..
|
||||||
LEFT
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user