autojump icon indicating copy to clipboard operation
autojump copied to clipboard

autojump not working my M1 laptop

Open TorvaldsDB opened this issue 3 years ago • 11 comments
trafficstars

I saw the issue https://github.com/wting/autojump/issues/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.

image

TorvaldsDB avatar Mar 17 '22 08:03 TorvaldsDB

Seems I have the same issue. it's installed correctly but not working.

PictorSHIN avatar Mar 23 '22 09:03 PictorSHIN

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: https://github.com/Homebrew/brew/issues/7857#issue-647960270

image

and comment from one of the comtributor:

image

TorvaldsDB avatar Mar 23 '22 09:03 TorvaldsDB

that's sad, is there any similar tools I can use on M1 mac ?

Wesley-Ong avatar Jul 08 '22 06:07 Wesley-Ong

@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

itsbrex avatar Jul 09 '22 21:07 itsbrex

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 )

Wesley-Ong avatar Jul 15 '22 09:07 Wesley-Ong

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

GeojoL avatar Oct 23 '22 02:10 GeojoL

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

spydon avatar Apr 12 '23 14:04 spydon

@spydon Thanks! I was able to get it working based on your comment!!!

RodCato avatar Jul 22 '23 18:07 RodCato

it can't work on m2, does somebody can solve this?

zeevenn avatar Aug 06 '23 14:08 zeevenn