1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-25 08:21:03 +02:00
zsh-autoenv/tests/ZDOTDIR.invalid-module_path/.zshenv
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

15 lines
318 B
Bash

# Use invalid module path for zsh, to test alternative zstat implementation.
# Pre-load zsh/parameter, where we do not have/need(?) an alternative
# implementation.
zmodload zsh/parameter
module_path=(/dev/null)
zstat() {
echo "Should not get called."
}
# Source base setup.
source ${ZDOTDIR}/../ZDOTDIR/.zshenv