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

Allow z -- /path/to/dir/ #332

Closed
mawkler opened this issue Jan 10, 2022 · 5 comments
Closed

Allow z -- /path/to/dir/ #332

mawkler opened this issue Jan 10, 2022 · 5 comments
Labels
bug Something that isn't working the way it should.

Comments

@mawkler
Copy link

mawkler commented Jan 10, 2022

I often use fzf's ALT-C command to change directory, together with the alias cd=z. However, they recently changed their cd behaviour so that it does cd -- /path/to/dir/ instead of just cd /path/to/dir/, which cd supports but not zoxide. Is it possible to add support for -- to zoxide as well?

@CodeWithShreyans
Copy link

CodeWithShreyans commented Jan 18, 2022

Same situation for me. Really want this.

@ajeetdsouza ajeetdsouza added the bug Something that isn't working the way it should. label Jan 20, 2022
@ajeetdsouza
Copy link
Owner

Fixed in fzf's repo: junegunn/fzf#2799

@f1rstlady
Copy link

@ajeetdsouza Now, the problem for me is, that Fzf's cd widget bypasses zoxide. What do you think about adding z -- /path/to/dir/ to address this problem?

@mawkler
Copy link
Author

mawkler commented Dec 5, 2022

@f1rstlady That's odd. It doesn't for me. If I use Fzf's cd (Alt-c) to navigate for the first time to a directory that previously didn't show up in Zoxide, it then does show up in Zoxide.

@f1rstlady
Copy link

@melkster Turns out I had an error in my installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working the way it should.
Projects
None yet
Development

No branches or pull requests

4 participants