-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_profile
28 lines (23 loc) · 894 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
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.env-passwords" ]] && source "$HOME/.env-passwords" # Load the default .profile
alias ls='ls -G'
alias ll='ls -l'
alias la='ls -lA'
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# Remove ruby warnings
export RUBYOPT='-W:no-deprecated -W:no-experimental'
# Set up homebrew completions
if type brew &>/dev/null; then
HOMEBREW_PREFIX="$(brew --prefix)"
if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
else
for COMPLETION in "${HOMEBREW_PREFIX}/etc/bash_completion.d/"*; do
[[ -r "$COMPLETION" ]] && source "$COMPLETION"
done
fi
fi
# Set up custom paths
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export PATH="$HOME/.dotfiles/bin:$PATH"