Closed byrocuy closed 6 months ago
The issue seems to be that zoxide is not in your PATH. If you've used the install script, you might want to add this line in your bashrc, before you call zoxide:
export PATH="$HOME/.local/bin:$PATH"
Wow, thanks man. It worked now. I thought that simply exporting the path directly in the terminal was sufficient 😅
No problem!
Hello,
I am encountering an issue with zoxide in WSL. I have installed zoxide via install script, added zoxide in the
~/.bashrc
, and using it fine after invokingzoxide init
. However, when I close the terminal and reopen it, thez
command was not found as I tried to use to navigate to a folder. Note that thezoxide
command still works, but I have tosource ~/.bashrc
to be able to usez
command again each time I open a new terminal.I've explored some solutions on Stack Overflow, but none seems to work for me:
source ~/.bashrc
to my.bash_profile
~/.bash_profile
to remove overriding for~/.profile
(.profile
file is not empty)Note that I kept running
zoxide: command not found
after applying these steps and restarting the terminal.Any insights or further suggestions for this problem?
Thank you