If you have not already done so, you can follow the instructions printed in my last installation:
Add the following line to your ~/.bash_profile or ~/.zshrc file (and remember to source the file to update your current session): [[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh
For example, if you added a line to .bash_profile, you can specify it as follows:
. ~/.bash_profile
Or just run a new command shell and the variables should take effect.
If you are unsuccessful, it's time to seriously deal with the problem.
If you installed it correctly, you should have a file named autojump.sh in the brew directory (which you can see with brew --prefix ). If this file is there, you should be able to execute the following command, which should temporarily allow the use of autojump commands in this particular shell:
. $(brew --prefix)/etc/profile.d/autojump.sh
If you manage to execute the autojump commands, it is a matter of modifying your .bashrc or .zshrc file, as indicated at the beginning of this answer.
If autojump commands are still not visible, I will try "brew remove autojump" and then "brew install autojump". Oh, and be sure to follow the instructions in the "Cautions" section after a successful installation.
source share