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
When you type a command like z an-absoloutly-unkown-directory, the response is zoxide: no match found which can be too easily confused with the fact that the command z does not exist (zoxide: command not found).
A better message would be: zoxide: no match found for 'an-absoloutly-unkown-directory' which is a better distinction between zoxide vs OS error message.
The text was updated successfully, but these errors were encountered:
That seems to me like it would be very verbose. It's also redundant, since the query on most shells would be visible right above the error:
$ z foo barzoxide: no match found for 'foo bar'
It would also be slightly confusing in places:
$ z "foo bar" bazzoxide: no match found for '"foo bar" baz'
Lastly, the case we're optimizing for (zoxide: command not found) seems like it would not happen very often on most setups - it seems like we're optimizing for 1% of situations at the expense of the remaining 99%.
When you type a command like
z an-absoloutly-unkown-directory
, the response iszoxide: no match found
which can be too easily confused with the fact that the commandz
does not exist (zoxide: command not found
).A better message would be:
zoxide: no match found for 'an-absoloutly-unkown-directory'
which is a better distinction between zoxide vs OS error message.The text was updated successfully, but these errors were encountered: