-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbash_profile
More file actions
executable file
·30 lines (26 loc) · 1.05 KB
/
bash_profile
File metadata and controls
executable file
·30 lines (26 loc) · 1.05 KB
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
#!/usr/bin/env bash
BASH_PROFILE_PATH=$(readlink "$BASH_SOURCE")
# Canonicalize the bash_profile link. This is necessary because the bsd
# readlink do not do that like readlink -f does on linux.
while [ -L "$BASH_PROFILE_PATH" ]; do
BASH_PROFILE_PATH=$(readlink "$BASH_PROFILE_PATH")
done
DOTFILES_PATH=$(dirname "$BASH_PROFILE_PATH")
source $DOTFILES_PATH/environment
source $DOTFILES_PATH/homebrew
source $DOTFILES_PATH/rbenv
source $DOTFILES_PATH/aliases
source $DOTFILES_PATH/ps1
source $DOTFILES_PATH/heroku
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*