mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 15:30:59 +02:00
Test env for invalid zsh module_path, where zsh/zstat fails
This commit is contained in:
parent
6fe08c3fde
commit
5d65371786
13
tests/ZDOTDIR.invalid-module_path/.zshenv
Normal file
13
tests/ZDOTDIR.invalid-module_path/.zshenv
Normal file
@ -0,0 +1,13 @@
|
||||
# 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 ${ZDOTDIR}/../ZDOTDIR/.zshenv
|
Loading…
Reference in New Issue
Block a user