-
-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Labels
Description
Platform
- Operating system and version? Fedora 42
- Shell and version? zsh 5.9 (x86_64-redhat-linux-gnu)
- autoenv installation method: git & sourced
- autoenv version: b030c19
Description
When changing to a non-existent directory via cd, I get duplicate error messages:
% source ~/.dotfiles/repos/autoenv/activate.sh
% cd no_dir_here
autoenv_cd:chdir:2: no such file or directory: no_dir_here
autoenv_cd:cd:2: no such file or directory: no_dir_here
% cd ~/.dotfiles/repos/autoenv
% git rev-parse --short HEAD
b030c19Expected behavior
I would expect the error to be more like what appears without the tool, i.e.:
% cd no_dir_here
cd: no such file or directory: no_dir_hereAdditional context
I started my zsh session via zsh -f to ensure I wasn't getting conflicts from other tools.
Reactions are currently unavailable