Closed sneazy-ibo closed 3 months ago
You need to load compinit
first:
autoload -Uz compinit
compinit
which z
will not work, since z
is defined as a function. Try using z
directly and see if the command is found.
I have similar issue with 0.9.4 on ZSH
My workaround was to downgrade to 0.9.2
export zoxide init zsh
to a file
Upgrade to 0.9.4
and than source that file from 0.9.2
zoxide init zsh
is not working for me in ZSH
This issue has been automatically closed due to inactivity. If you feel this is still relevant, please comment here or create a fresh issue.
I started by running the following command as instructed in the guide
got a message that I need to add
/Users/ibo/.local/bin
to my path I did that with nano and saved the line to my~/.zshrc
filenext thing was configuring zoxide, however the command
compinit
was undefined for me and I could not get it definedafter adding a new line called
eval "$(zoxide init zsh)"
to my~/.zshrc
file as seen I ranrm ~/.zcompdump*; compinit
and restarted my terminalafter all this procedure
which z
just gives me an z not found error am I missing out on smth?