Skip to content

Homebrew description provides not working instruction #728

@tbille

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"

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