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

Feature request: Allow manually specifying high priority paths. #816

Closed
spthiel opened this issue May 15, 2024 · 2 comments
Closed

Feature request: Allow manually specifying high priority paths. #816

spthiel opened this issue May 15, 2024 · 2 comments

Comments

@spthiel
Copy link

spthiel commented May 15, 2024

Goal:

I'd like for there to be a command that allows to permanently set the frequency of any directory to always be higher than all other directories (except directories in the current PWD)

Explanation:

I have the three directories "foo-main" "foo-test" and "docker-foo" and generally when I use z foo I go to "foo-main" because that's the main directory I work in and always want to go there. Sometimes however I spend a few days in docker-foo or foo-test which causes the frequency of these two to increase above foo-main causing z foo to go into those instead.

Because I have mentally saved different keywords to explicitly go into foo-test and docker-foo I do not need either of them be accessible with "foo"

@atharvakadlag
Copy link

You could just easily setup aliases for this. the point of z seems to be to guess what directory the user wants to go to without them explicitly mentioning it. so adding manual high priority paths seems redundant.

@ajeetdsouza
Copy link
Owner

Agreed, I think high priority paths are overcomplicating the problem. zoxide should stay out of the way as far as possible - people really don't want to think so much about their cd command.

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

3 participants