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 ecf2b2961f Only source varstash lib if it's being used
I have noticed that `autostash` called an (accidentally)
defined/overwritten `stash` function.

While it's not possible to put this into a local scope, this will at
least make it less polluting by default (when autostashing is not used).

Additionally we could source it always (not just once), but then it
would only re-overwrite the function.

A better fix would be to prefix the functions explicitly, e.g.
`autoenv_autostash` etc.

Closes https://github.com/Tarrasch/zsh-autoenv/pull/42.
2016-04-28 20:44:05 +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
ZDOTDIR.shwordsplit Add tests/ZDOTDIR.shwordsplit 2015-11-18 19:25:07 +01: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 Cleanup API/vars for enter/leave events 2015-10-09 22:04:55 +02:00
recurse-upwards.t Change default values: .env => .autoenv.zsh etc 2015-05-22 17:20:06 +02:00
setup.zsh Cleanup API/vars for enter/leave events 2015-10-09 22:04:55 +02:00
source-parent-until.t Allow to limit autoenv_source_parent's upward recursion 2015-10-09 22:16:07 +02:00
source-parent-vars.t Cleanup API/vars for enter/leave events 2015-10-09 22:04:55 +02:00
varstash_export.t Cleanup tests/varstash_export.t 2015-04-23 17:57:56 +02:00
varstash.t Only source varstash lib if it's being used 2016-04-28 20:44:05 +02:00