Closed GeojoL closed 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
sh /opt/homebrew/etc/profile.d/autojump.sh
. /opt/homebrew/etc/profile.d/autojump.sh it does not work. maybe because of using subshell.
. /opt/homebrew/etc/profile.d/autojump.sh
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.
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.