ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
MIT License
20.54k stars 523 forks source link

"no options following" not implemented #726

Open RomanoZumbe opened 4 months ago

RomanoZumbe commented 4 months ago

When passing "--" as parameter to zoxide it can't switch to an absolute path given. This makes it somewhat difficult to use it as an alias for cd.

For example the yazi getting started guide uses a shell function which makes use of this and doesn't work when zoxide is used in place of cd.

config in ~/.zshrc: eval "$(zoxide init --cmd cd zsh)"

example:

> cd -- /var/log
zoxide: no match found