Daniel Hahler
9279fcc441
Rename AUTOENV_ENV_FILENAME to AUTOENV_AUTH_FILE; use XDG
...
This makes the name of the auth file location more fitting, and uses the
[XDG spec](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables )
for the default location (~/.local/share/autoenv_auth).
When the old setting is used, or the previous default exists, a warning
is given with instructions.
2015-05-22 00:16:53 +02:00
Daniel Hahler
7699fe6aba
tests: rename setup.sh to setup.zsh
2015-04-23 16:03:21 +02:00
Daniel Hahler
b3a56f449f
Merge pull request #22 from Tarrasch/improve-and-test-zstat-integration
...
Improve and test zstat integration
2015-01-26 14:08:25 +01:00
Daniel Hahler
5cb689875e
tests: abort if setup fails!
...
Otherwise the user's auth file might get removed.
2015-01-25 19:48:56 +01:00
Daniel Hahler
6fe08c3fde
Improve zsh/zstat integration; also make it handle dirs
2015-01-25 19:22:52 +01:00
Daniel Hahler
5655e26d6a
Encapsulate the file name in the hash pair for stricter matching
...
Ref: https://github.com/Tarrasch/zsh-autoenv/pull/13#issuecomment-65559752
2014-12-04 10:35:09 +01:00
Daniel Hahler
13bb443f48
Fix _autoenv_deauthorize with regard to newline handling, add tests
2014-12-04 07:20:44 +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