wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.06k stars 702 forks source link

For M1 chips, install correctly but not working. #656

Closed GeojoL closed 1 year ago

GeojoL commented 1 year ago

do not use this

[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh

try this

[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && source /opt/homebrew/etc/profile.d/autojump.sh

I did not use oh-my-zsh, I put this straight to the .bash_profile, it will also work if you put it to .zshrc.

I tried sh /opt/homebrew/etc/profile.d/autojump.sh and

. /opt/homebrew/etc/profile.d/autojump.sh it does not work. maybe because of using subshell.

image image

yanaiela commented 1 year ago

Did you install it with brew? It doesn't work for me

zjzjzjzj1874 commented 9 months ago

Did you install it with brew? It doesn't work for me

Bro,I just install with brew on my M1, and I tried this, it works on my machine.