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

unrecognized subcommand 'Documents' when using zoxide to change directories #927

Closed
dfalling opened this issue Oct 28, 2024 · 1 comment
Closed

Comments

@dfalling
Copy link

I installed zoxide and fzf via homebrew on macOS 15.0.1 (24A348), and am setting up both in my .zshrc config:

export PATH="/opt/homebrew/bin:$PATH"

autoload -Uz compinit
compinit

source <(fzf --zsh)

alias z=zoxide
eval "$(zoxide init zsh)"

When I try to use zoxide to change directories, I get an unrecognized subcommand error. Are there any logs or troubleshooting steps I can check to see why the standard setup isn't working for me?

❯ z Documents
error: unrecognized subcommand 'Documents'

Usage: zoxide <COMMAND>

For more information, try '--help'.

Thanks!

@ajeetdsouza
Copy link
Owner

Remove alias z=zoxide, that's not necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants