forked from drubin/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
25 lines (20 loc) · 777 Bytes
/
.bashrc
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
## Load system-wide definitions
#based on a .bashrc by Graham Poulter, licensed under Creative Commons Attribution 3.0
#http://www.grahampoulter.com/projects-1/linux-rc-files
[[ -f /etc/bashrc ]] && source /etc/bashrc
[[ -f /etc/bash.bashrc ]] && source /etc/bash.bashrc
## Stop for non-interactive shells
if [[ $- != *i* ]]; then
return 0
fi
## Load system-wide completions
[[ -f /etc/bash_completion ]] && source /etc/bash_completion
## Load interactive definitions
for script in ~/.bashrc.d/*; do
source "$script"
done
export DEBEMAIL="[email protected]"
export DEBULLNAME="David Rubin"
## Source system local bashrc stuff
source ~/.bashrc.local
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*