Open
Description
Platform
- Operating system and version? macOS Sonoma 14.5 arm64
- Shell and version? zsh 5.9
- autoenv installation method: homebrew
- autoenv version: 0.3.0
Describe the bug
When I change to a directory with a .env
file it executes the file followed by this error:
(eval):1: bad pattern: ^[[01
I have tried this on the simplest of .env
file, e.g.
echo "Hello"
and still get the error. The output when changing the directory is:
Hello
(eval):1: bad pattern: ^[[01
The .env
file appears to execute fully, I am just not sure where the error comes from.
Expected behavior
In the above example, expected output would be,
Hello
Additional context
I have export AUTOENV_ENABLE_LEAVE=1
in my .zprofile
.
I have tried uninstalling and reinstalling autoenv
.