Daniel Hahler
|
e8372e9cdf
|
tests: setopt errexit during setup
This is meant to prevent accidentally overwriting your auth file when
running / changing the tests.
|
2015-03-15 22:16:12 +01:00 |
|
Daniel Hahler
|
88e602e367
|
tests: setup.sh: doc / more verbose
|
2015-01-25 19:50:27 +01:00 |
|
Daniel Hahler
|
9c829733ad
|
tests: setup for multiple ZDOTDIRs, fix/add "setopt clobber"
|
2014-12-08 22:14:54 +01:00 |
|
Daniel Hahler
|
e567a40592
|
Fixes after using setopt nounset during tests
Also add tests for unset variable with varstash.
|
2014-12-08 21:37:25 +01:00 |
|
Daniel Hahler
|
5e18125f04
|
Improve interactive prompt
- Revert usage of "read -q" for authentication (#10)
- Change format of "not authenticated" message (#9)
|
2014-11-27 13:33:04 +01:00 |
|
Daniel Hahler
|
d9ff71ac1d
|
Some more refactoring, adding support for autoenv_source_parent
- use file mtime with "entered" stack
- fix loading of varstash; look at $functions
- Refactor stack handling, add tests
- Refactor `_autoenv_get_file_upwards`, add tests
- tests: setup: reset AUTOENV_ENV_FILENAME
|
2014-11-24 20:13:18 +01:00 |
|
Daniel Hahler
|
bcec00d2dd
|
Use AUTOENV prefix
- s/DOTENV_/AUTOENV_/
- s/dotenv_/autoenv_/
Ref: https://github.com/Tarrasch/zsh-autoenv/issues/6
|
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
|
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 |
|