1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-22 07:20:59 +02:00
zsh-autoenv/tests
Daniel Hahler e68a914487 Change default values: .env => .autoenv.zsh etc
This changes the defaults:
 - 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.

This also renames the setting/variable AUTOENV_ENV_FILENAME to
AUTOENV_AUTH_FILE, and uses the [XDG
spec](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables)
for the default location.

The new default location for the auth file will be
~/.local/share/autoenv_auth.

When the old setting is used, or the previous default exists, a warning
is given with instructions.

Fixes https://github.com/Tarrasch/zsh-autoenv/issues/31.
Closes https://github.com/Tarrasch/zsh-autoenv/pull/32.
2015-05-22 17:20:06 +02:00
..
ZDOTDIR tests: streamline ZDOTDIR layout, AUTOENV_ENV_FILENAME via setup 2015-04-24 17:33:09 +02:00
ZDOTDIR.clobber tests: streamline ZDOTDIR layout, AUTOENV_ENV_FILENAME via setup 2015-04-24 17:33:09 +02:00
ZDOTDIR.invalid-module_path tests: streamline ZDOTDIR layout, AUTOENV_ENV_FILENAME via setup 2015-04-24 17:33:09 +02:00
ZDOTDIR.loadviafunction tests: streamline ZDOTDIR layout, AUTOENV_ENV_FILENAME via setup 2015-04-24 17:33:09 +02:00
_autoenv_stack.t tests: rename setup.sh to setup.zsh 2015-04-23 16:03:21 +02:00
_autoenv_utils.t Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
autoenv.t Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
cwd.t Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
leave.t Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
recurse-upwards.t Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
setup.zsh Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
varstash_export.t Cleanup tests/varstash_export.t 2015-04-23 17:57:56 +02:00
varstash.t tests: rename setup.sh to setup.zsh 2015-04-23 16:03:21 +02:00