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

Forcibly add entries to database via environment variable _ZO_INCLUDE_DIRS #930

Closed
rraafays opened this issue Nov 2, 2024 · 1 comment
Closed

Comments

@rraafays
Copy link

rraafays commented Nov 2, 2024

I have a huge music library stored in ~/Music/
Currently I can do z prince which takes me to ~/Music/prince_and_the_revolution
Obviously this is because I have manually visited this dir in the past
But there are thousands of folders under ~/Music/*

Basically I would love the ability to forcibly index or include directories via globbing
I imagine this would require a new environment variable as shown in the title and then a way to forcibly update the database whilst including the results of the glob at top priority.

@ajeetdsouza
Copy link
Owner

You can use zoxide add to add directories manually. However, I'd advise against this, since polluting your zoxide directory will lower the quality of the matches you get. For the same reason, I don't think this would be a good feature to add to zoxide.

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