mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2025-01-24 18:18:12 +01:00
Prepend homebrew rather than append to PATH
This commit is contained in:
parent
1e94ea2f71
commit
1611525077
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ append_paths=()
|
|||
HOMEBREW_PREFIX="$XDG_DATA_HOME/homebrew"
|
||||
if [ -x "$HOMEBREW_PREFIX/bin/brew" ]; then
|
||||
eval "$("$HOMEBREW_PREFIX/bin/brew" shellenv)"
|
||||
append_paths+=("$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin")
|
||||
prepend_paths+=("$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin")
|
||||
fi
|
||||
|
||||
rm_path_entries "${prepend_paths[@]}" "${append_paths[@]}" # Ensure we clean up first
|
||||
|
|
Loading…
Reference in a new issue