zoxide icon indicating copy to clipboard operation
zoxide copied to clipboard

Error whilst installing zioxid in zsh on warp terminal

Open sneazy-ibo opened this issue 1 year ago • 1 comments

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

image

next thing was configuring zoxide, however the command compinit was undefined for me and I could not get it defined

image

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?

sneazy-ibo avatar Feb 19 '24 23:02 sneazy-ibo

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.

ajeetdsouza avatar Feb 22 '24 18:02 ajeetdsouza

I have similar issue with 0.9.4 on ZSH

image

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

rod-stuchi avatar Mar 02 '24 20:03 rod-stuchi

This issue has been automatically closed due to inactivity. If you feel this is still relevant, please comment here or create a fresh issue.

github-actions[bot] avatar Mar 26 '24 00:03 github-actions[bot]