Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not adding folders on regular cd usage #941

Closed
manuqs33 opened this issue Nov 27, 2024 · 2 comments
Closed

Not adding folders on regular cd usage #941

manuqs33 opened this issue Nov 27, 2024 · 2 comments

Comments

@manuqs33
Copy link

manuqs33 commented Nov 27, 2024

I've installed zoxide as an apt package on a fresh ubuntu install, version 0.9.3, in Bash.
I have the required:

eval "$(zoxide init bash)"

In the .bashrc.
The question is the history is not building correctly on its own. An example:

image

I can add a directory manually with zoxide add, but it's very inconvenient, kind of messes up the main strength of the tool.

Any help will be much appreciated, thanks in advance

@ajeetdsouza
Copy link
Owner

Have you added the line at the end of your bashrc as mentioned in the README?

@ajeetdsouza ajeetdsouza added the waiting-for-response Waiting for a response from the issue author. label Nov 28, 2024
@manuqs33
Copy link
Author

manuqs33 commented Dec 1, 2024

Sorry I had another script that was silently modifying the PROMPT_COMMAND variable below the zoxide initialization script. Kind of dumb but at least the issue may be useful for someone having the same problem.

Thanks for zoxide! Amazing tool, I use it every day.

@manuqs33 manuqs33 closed this as completed Dec 1, 2024
@github-actions github-actions bot removed the waiting-for-response Waiting for a response from the issue author. label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants