autojump not working my M1 laptop
TorvaldsDB opened this issue · comments
I saw the issue #196, but I don't think my problem is the same with it
I have used the autojump for a long time. but it hasn't been working since I used the M1 laptop.
I installed it by homebrew brew install autojump
, and I set the two following two lines commands into my .zshrc
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
but it still doesn't work anymore.
Help me. I really do love it. I can NOT lose it.
Seems I have the same issue. it's installed correctly but not working.
Seems I have the same issue. it's installed correctly but not working.
I knew the reason since it is not compatible with the M1 and HOMEBREW contributors are not fixing them anymore.
Here: Homebrew/brew#7857 (comment)
and comment from one of the comtributor:
that's sad, is there any similar tools I can use on M1 mac ?
@Wesley-Ong https://github.com/rupa/z works great. you have to z to the full directory path at least once tho for the fuzzy to work.
Example:
If you initially run:
z ~/Downloads
To get to ~/Downloads again, this will work:
z down
--> ~/Downloads
That works !
And I also wanna share that my collegue using zim + brew install works fine.
( I was using ohmyzsh + brew install, not sure they're relating or not )
try source
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && source /opt/homebrew/etc/profile.d/autojump.sh
[[ -s brew --prefix
/etc/autojump.sh ]] && source brew --prefix
/etc/autojump.sh
It works fine for me on M1 when installing autojump from homebrew and then adding it to .zshrc
with antigen bundle autojump
.
Check antigen installation instructions here:
https://github.com/zsh-users/antigen
# Path to you antigen script
source ~/.config/lconfig/remote/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle autojump
# Tell Antigen that you're done.
antigen apply
it can't work on m2, does somebody can solve this?