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
Support the --
command-line argument
#776
Comments
+1. Just came here to report that zoxide isn't working with autocd. |
Here's a workaround for anyone else who is trying to get this to behave - we will override the internal zoxide function and catch the leading
This is just the normal I would submit this as a PR, but I'm brand new around here and have no idea if this is the 'right way' to do it for this project.... But this works just fine, for now :) |
Not just the autocd but sometimes other tools change directory for you and they do it in a way that's not covered by zoxide. |
If it isn't the prepended |
A very minor request, but it'd be nice if zoxide supported the
--
command-line argument similar to howcd
does it. Right now zoxide treats it as a path and reports that "no match found".A use case scenario with bash:
zoxide init bash --cmd cd
to replace the built-incd
.shopt -s autocd
to make bash automaticallycd
when a command name is a directory.cd -- <path>
, thecd
alias expands to a zoxide command, and zoxide fails because it doesn't recognize--
.The text was updated successfully, but these errors were encountered: