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

Command not found: j #569

Closed
qazip opened this issue Apr 14, 2019 · 4 comments
Closed

Command not found: j #569

qazip opened this issue Apr 14, 2019 · 4 comments

Comments

@qazip
Copy link

qazip commented Apr 14, 2019

I am using antergos and installed autojump with pacman. I have already restarted the terminal but I am still getting the message:

zsh: command not found: j

I am missing a source in my zshrc, but I cannot find any info regarding that in the README. Shouldn't I source an .sh or something?

@qazip qazip changed the title Command not found Command not found: j Apr 14, 2019
@qazip
Copy link
Author

qazip commented Apr 14, 2019

I suggest adding the following to the README:

source /usr/share/autojump/autojump.zsh

@qazip qazip closed this as completed Apr 14, 2019
@wenJonSnow
Copy link

me too

@CasperMoo
Copy link

I suggest adding the following to the README:

source /usr/share/autojump/autojump.zsh

that works for me.
but for me, the path is '/usr/local/Cellar/autojump/22.5.3/share/autojump/autojump.zsh'.

@sundarv85
Copy link

but for me, the path is '/usr/local/Cellar/autojump/22.5.3/share/autojump/autojump.zsh'.

When you come from brew, as noted at the end of the installation, you have to do the following

Add the following line to your ~/.bash_profile or ~/.zshrc file:
  [ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh

If you use the Fish shell then add the following line to your ~/.config/fish/config.fish:
  [ -f /opt/homebrew/share/autojump/autojump.fish ]; and source /opt/homebrew/share/autojump/autojump.fish

Restart your terminal for the settings to take effect.

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

4 participants