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: cd to file #1015

Open
pandiloko opened this issue Mar 14, 2025 · 0 comments
Open

FEATURE: cd to file #1015

pandiloko opened this issue Mar 14, 2025 · 0 comments

Comments

@pandiloko
Copy link

I often make the mistake of trying to cd to a file. Either because I copied the directory path including the file name or because I used alt+. to retrieve the last argument, which happened to be a file.

It would be nice if zoxide could ignore the filename and try to use the remaining as a directory path.

IMHO, it would be an easy feature to add, and it could help some people while not harming or affecting anyone.

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

1 participant