forked from faun/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
39 lines (33 loc) · 1.1 KB
/
bash_profile
File metadata and controls
39 lines (33 loc) · 1.1 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
31
32
33
34
35
36
37
38
39
#echo "=> Loading `pwd`/bash_profile"
source ~/.bash/aliases
# source ~/.bash/completions
source ~/.bash/paths
source ~/.bash/config
# Add bin directory to path
if [ -d ~/bin ]; then
export PATH=:~/bin:$PATH
fi
# Load in .bashrc
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
source ~/.bash/colors
source ~/.bash/prompt
export rvm_path="$HOME/.rvm"
# Enable RVM
[[ -s $rvm_path/scripts/rvm ]] && source $rvm_path/scripts/rvm
[[ -r $rvm_path/scripts/completion ]] && . $rvm_path/scripts/completion
# Notes: ----------------------------------------------------------
# When you start an interactive shell (log in, open terminal or iTerm in OS X,
# or create a new tab in iTerm) the following files are read and run, in this order:
# profile
# bashrc
# .bash_profile
# .bashrc (only because this file is run (sourced) in .bash_profile)
#
# When an interactive shell, that is not a login shell, is started
# (when you run "bash" from inside a shell, or when you start a shell in
# xwindows [xterm/gnome-terminal/etc] ) the following files are read and executed,
# in this order:
# bashrc
# .bashrc