Skip to content

Homebrew description provides not working instruction #728

Description

@tbille

When installing from homebrew autojump, the first step is to add those lines to our bash/zsh files:

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

$HOMEBREW_PREFIX is not setup by default

For a more reliable option the documentation can use this:

Add the following line to your ~/.bash_profile or ~/.zshrc file:
    [ -f "$(brew --prefix)/etc/profile.d/autojump.sh" ] && . "$(brew --prefix)/etc/profile.d/autojump.sh"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions