forked from danhorst/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile
executable file
·38 lines (32 loc) · 657 Bytes
/
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
29
30
31
32
33
34
35
36
37
38
source /opt/boxen/env.sh
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='7;31'
export EDITOR='/usr/bin/vim'
export VISUAL='/usr/bin/vim'
function rr {
if [ -f script/server ]; then
script/server $@
else
rails server $@
fi
}
function console {
if [ -f script/console ]; then
script/console $@
else
rails console $@
fi
}
function rg {
if [ -e script/generate ]; then
script/generate $@
else
rails generate $@
fi
}
source ~/.bash_aliases
source ~/bin/git-completion.sh
source ~/bin/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='\w\[\033[31m\]$(__git_ps1 " %s")\[\033[00m\] \$ '
export LESS="-R"