Daniel Hahler
dbfb8fe519
Streamline cwd behavior while sourcing
2014-11-24 20:13:18 +01:00
Daniel Hahler
67e8030770
tests: add and use test_autoenv_add_to_env and test_autoenv_auth_env_files
...
Conflicts:
autoenv.zsh
2014-11-24 20:13:18 +01:00
Daniel Hahler
f31bb529de
s/ENV_AUTHORIZATION_FILE/AUTOENV_ENV_FILENAME/
...
Ref: https://github.com/Tarrasch/zsh-autoenv/issues/6
2014-11-24 20:13:18 +01:00
Daniel Hahler
5b553ba1ed
varstash integration
...
Fixes: https://github.com/Tarrasch/zsh-autoenv/issues/5
2014-11-24 20:13:18 +01:00
Daniel Hahler
c12b861952
tests: inject '-t 1' to read
during tests
2014-11-24 20:13:18 +01:00
Daniel Hahler
c1a25d724e
tests: add setup script, used to be for all tests
2014-11-24 20:13:18 +01:00
Daniel Hahler
b25f6b14dc
Add tests for $PWD during enter and leave events
2014-11-16 12:05:16 +01:00
Daniel Hahler
1d3e5b69a7
Add a test for DOTENV_HANDLE_LEAVE=0
2014-11-15 15:25:20 +01:00
Daniel Hahler
4676713bc6
Various improvements
...
- Support for leave event, via DOTENV_FILE_LEAVE and _dotenv_event (can
use DOTENV_FILE_LEAVE=$DOTENV_FILE_ENTER).
- Support for searching upwards for $DOTENV_FILE_ENTER (#3 ).
- Source .env only once per session, but re-source when leave events
are enabled (#1 ).
- Trigger the machinery when the script gets sourced, for the current
dir (#2 ).
2014-11-15 15:08:52 +01:00
Arash Rouhani
cae790171d
Forgot trailing white space
2013-09-08 18:54:17 +02:00
Arash Rouhani
08fec15f31
Add tests
2013-09-08 18:32:16 +02:00