Skip to content

How to load homebrew on Fish shell? #4412

Discussion options

You must be logged in to vote

This is what I have been using without problems for months after asking this question:

if test -d /home/linuxbrew/.linuxbrew
      # Homebrew is installed on Linux

      set -gx HOMEBREW_PREFIX "/home/linuxbrew/.linuxbrew"
      set -gx HOMEBREW_CELLAR "/home/linuxbrew/.linuxbrew/Cellar"
      set -gx HOMEBREW_REPOSITORY "/home/linuxbrew/.linuxbrew/Homebrew"
      set -gx PATH "/home/linuxbrew/.linuxbrew/bin" "/home/linuxbrew/.linuxbrew/sbin" $PATH
      set -q MANPATH; or set MANPATH ''
      set -gx MANPATH "/home/linuxbrew/.linuxbrew/share/man" $MANPATH
      set -q INFOPATH; or set INFOPATH ''
      set -gx INFOPATH "/home/linuxbrew/.linuxbrew/share/info" $INFOPATH

      # Homebrew …

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@BarbzYHOOL
Comment options

Comment options

You must be logged in to vote
6 replies
@BarbzYHOOL
Comment options

@apainintheneck
Comment options

@BarbzYHOOL
Comment options

@paldepind
Comment options

@aldoKelvianto
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by andradei
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants