forked from tispratik/dotfiles
/
bashrc
executable file
·49 lines (37 loc) · 1.1 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
source ~/dotfiles/bash/colors
source ~/dotfiles/bash/paths
source ~/dotfiles/bash/env
source ~/dotfiles/bash/aliases
source ~/dotfiles/bash/completions
if [ `uname` == 'Darwin' ]; then
source ~/dotfiles/bash/mac_aliases
fi
# Nano
source ~/dotfiles/nanorc
# RVM
source ~/dotfiles/rvmrc
# Ruby Debug
# source ~/dotfiles/rdebugrc
#source ~/dotfiles/bash/gitconfig
if [ -f ~/.local_settings ]; then
. ~/.local_settings
fi
if [ ! -f ~/.vimrc ]; then
ln -s ~/dotfiles/vimrc ~/.vimrc
fi
# Load the global gitignore file if not existing already
if [ ! -f ~/.gitignore ]; then
ln -s ~/dotfiles/gitignore ~/.gitignore
fi
if [ ! -f ~/.inputrc ]; then
ln -s ~/dotfiles/inputrc ~/.inputrc
fi
# This loads RVM into a shell session.
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then . "$HOME/.rvm/scripts/rvm" > /dev/null; fi # If RVM is installed in user's home
if [[ -s "/usr/local/bin/rvm" ]] ; then . "/usr/local/bin/rvm" > /dev/null; fi # If RVM is installed system-wide
# IRBRC
# ruby ~/dotfiles/irbrc
# Textmate2 Properties
if [ ! -f ~/.tm_properties ]; then
ln -s ~/dotfiles/tm_properties ~/.tm_properties
fi