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

Initialization (DOCTOR) error as of 0.9.7 #983

Closed
shawnyeager opened this issue Feb 11, 2025 · 2 comments
Closed

Initialization (DOCTOR) error as of 0.9.7 #983

shawnyeager opened this issue Feb 11, 2025 · 2 comments

Comments

@shawnyeager
Copy link

shawnyeager commented Feb 11, 2025

Maybe my config was wrong and I'd gotten away with it until now, but with no changes to my config, updating to 0.9.7 has triggered these error messages, sporadically. It seems like trailing / coincide with most of them, but I can't be sure.

 cd .config/
zoxide: detected a possible configuration issue.
Please ensure that zoxide is initialized right at the end of your shell configuration file (usually ~/.bashrc).

If the issue persists, consider filing an issue at:
https://github.com/ajeetdsouza/zoxide/issues

Disable this message by setting _ZO_DOCTOR=0.

I'm running zoxide 0.9.7-1 via Arch extra.

@ajeetdsouza
Copy link
Owner

Yes, that means something in your config (likely Starship / some other prompt) has been initialized after zoxide, and is breaking zoxide's functionality. This was happening silently for a lot of users and was hurting their experience, so I added a warning to detect when it happens.

@shawnyeager
Copy link
Author

I am using starship. Thanks.

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