You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I type z foo and there is a local directory named "foo", it will cd to that local directory, even if there is a directory named "foo" in the database with a higher weight. Is there a way to disable this behavior, and have z always select an entry from the database?
It seems like there's not a way to disable this by default. Would that be a reasonable option? I don't use z as cd, I specifically use z when I want to get to somewhere not in the current directory.
The text was updated successfully, but these errors were encountered:
Yup, that's the way to go here. You can also alias z='__zoxide_z /' - __zoxide_z is the internal z command that is exposed for use cases exactly like this.
I asked about this in a discussion a while back:
It seems like there's not a way to disable this by default. Would that be a reasonable option? I don't use
z
ascd
, I specifically usez
when I want to get to somewhere not in the current directory.The text was updated successfully, but these errors were encountered: