-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.path
More file actions
19 lines (13 loc) · 789 Bytes
/
.path
File metadata and controls
19 lines (13 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
[[ -f /opt/homebrew/bin/brew ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
[[ -n $(command -v brew) ]] && eval "$(brew shellenv)"
# CoreUtils
if [[ -n $(command -v brew) ]] && [[ -d "$(brew --prefix coreutils)/opt/libexec/gnubin" ]]; then
export PATH="$(brew --prefix coreutils)/opt/libexec/gnubin${PATH+:$PATH}"
export MANPATH="$(brew --prefix coreutils)/opt/libexec/gnuman${MANPATH+:$MANPATH}"
fi
[[ -n $(command -v brew) ]] && [[ -s $(brew --prefix mono)/bin ]] && export PATH=${PATH+$PATH:}$(brew --prefix mono)/bin
[[ -s $HOME/.composer/vendor/bin ]] && export PATH=${PATH+$PATH:}$HOME/.composer/vendor/bin
# nvm
[ -s "$(brew --prefix nvm)/nvm.sh" ] && \. "$(brew --prefix nvm)/nvm.sh" # This loads nvm