Corrext homebrew rc script
Add path to bin and sbin in the end od PATH
This commit is contained in:
@@ -2,6 +2,10 @@ nop ${BREW_HOME:=/home/linuxbrew}
|
|||||||
nop ${BREW:="$BREW_HOME/.linuxbrew/bin/brew"}
|
nop ${BREW:="$BREW_HOME/.linuxbrew/bin/brew"}
|
||||||
|
|
||||||
if [[ -e "$BREW" ]]; then
|
if [[ -e "$BREW" ]]; then
|
||||||
|
path_backup="$PATH"
|
||||||
eval "$($BREW shellenv)"
|
eval "$($BREW shellenv)"
|
||||||
fi
|
PATH="$path_backup"
|
||||||
|
|
||||||
|
append_path "$HOMEBREW_PREFIX/bin"
|
||||||
|
append_path "$HOMEBREW_PREFIX/sbin"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user