Error whilst installing zioxid in zsh on warp terminal
I started by running the following command as instructed in the guide
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
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 file
next thing was configuring zoxide, however the command compinit was undefined for me and I could not get it defined
after adding a new line called eval "$(zoxide init zsh)" to my ~/.zshrc file as seen I ran rm ~/.zcompdump*; compinitand restarted my terminal
after all this procedure which z just gives me an z not found error
am I missing out on smth?
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.