Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autojump not working my M1 laptop #650

Open
TorvaldsDB opened this issue Mar 17, 2022 · 9 comments
Open

autojump not working my M1 laptop #650

TorvaldsDB opened this issue Mar 17, 2022 · 9 comments

Comments

@TorvaldsDB
Copy link

TorvaldsDB commented Mar 17, 2022

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.

image

@PictorSHIN
Copy link

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

@TorvaldsDB
Copy link
Author

TorvaldsDB commented Mar 23, 2022

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)

image

and comment from one of the comtributor:

image

@Wesley-Ong
Copy link

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

@itsbrex
Copy link

itsbrex commented Jul 9, 2022

@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

@Wesley-Ong
Copy link

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 )

@GeojoL
Copy link

GeojoL commented Oct 23, 2022

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

@spydon
Copy link

spydon commented Apr 12, 2023

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

@RodCato
Copy link

RodCato commented Jul 22, 2023

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

@dribble-njr
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants