-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_profile
30 lines (25 loc) · 922 Bytes
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# this is where I store my binaries when I don't have write access,
# so exporting this path is the absolute first order of business
export PATH=$PATH:~/.local/bin
# pull from yadm before anything
if hash yadm 2>/dev/null; then
yadm pull
else
echo 'yadm binary not found. dotfiles were not pulled. install here: https://github.com/TheLocehiliosan/yadm'
fi
# Add Homebrew to PATH if installed
if [[ -d "/opt/homebrew/bin" ]]; then
# Apple Silicon Macs
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [[ -d "/usr/local/bin/brew" ]]; then
# Other
eval "$(/usr/local/bin/brew shellenv)"
fi
# bashrc contains all else
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
export PATH="$HOME/.cargo/bin:$PATH"
export PATH=$PATH:/Users/evan/.pixi/bin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH=$PATH:/home/evan/.pixi/bin