Describe the bug
When you leave a project directory where you have devenv allow enabled and try to get back to it with cd - you will get to another previous directory.
I'm not sure if this is a problem in combination with fish and zoxide, but I paste my config.
home-manager config:
programs = {
fish = {
enable = true;
shellInit = ''
devenv hook fish | source
'';
};
# A smarter cd command
# https://github.com/ajeetdsouza/zoxide
zoxide = {
enable = true;
enableFishIntegration = true;
options = [ "--cmd cd" ];
};
};
To reproduce
cd your-project
devenv allow (see that devenv env is built)
cd .. get out of project directory
cd - expect to get back into project directory
- See that you are in a different directory or the directory didn't change at all
Version
devenv 2.1.3 (x86_64-linux) from main branch yesterday (8eff3cd)
Describe the bug
When you leave a project directory where you have
devenv allowenabled and try to get back to it withcd -you will get to another previous directory.I'm not sure if this is a problem in combination with fish and zoxide, but I paste my config.
home-manager config:
To reproduce
cd your-projectdevenv allow(see that devenv env is built)cd ..get out of project directorycd -expect to get back into project directoryVersion
devenv 2.1.3 (x86_64-linux) from main branch yesterday (8eff3cd)