1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-23 07:40:58 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
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
18201debd6 Change default values: .env => .autoenv.zsh etc
This changes the defaults:
 - AUTOENV_ENV_FILENAME: .env_auth  => .autoenv_auth
 - AUTOENV_FILE_ENTER:   .env       => .autoenv.zsh
 - AUTOENV_FILE_LEAVE:   .env_leave => .autoenv_leave.zsh

`.env` is usually used only for key-value pairs for environment
settings, e.g. with foreman.  We do not want to interfere with this.

Fixes https://github.com/Tarrasch/zsh-autoenv/issues/31.
2015-05-21 23:58:26 +02:00
Daniel Hahler
fd54606830 tests: streamline ZDOTDIR layout, AUTOENV_ENV_FILENAME via setup
Without this, a new subshell would reset the env authentication file.
2015-04-24 17:33:09 +02:00
Daniel Hahler
7699fe6aba tests: rename setup.sh to setup.zsh 2015-04-23 16:03:21 +02:00