-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
45 lines (37 loc) · 1.11 KB
/
.bash_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
39
40
41
42
43
44
45
export EDITOR=vim
if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then
source /usr/local/git/contrib/completion/git-completion.bash
fi
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
if [ -f ~/.git-prompt.sh ]; then
export GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\W\[\033[01;33m\]$(__git_ps1 " (%s)")\[\033[00m\]\$ '
source ~/.git-prompt.sh
fi
set_term_title(){
echo -en "\033]0;$1\a"
}
# Aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias g='git'
alias pom='git pull origin master'
alias yolo='git push origin master'
alias git_cleanup='git br --merged | grep -v "\*" | xargs -n 1 git branch -d'
alias be='bundle exec'
alias b='bundle'
alias spart='cd ~/Development/sage_one_advanced'
alias gacui='cd ~/Development/s1_gac_ui'
alias sop='cd ~/Development/sop'
alias rsi='ENVIRONMENT=development bundle exec rspec --tag integration'
alias rsapi='ENVIRONMENT=development bundle exec rspec --tag api_requests'
# Directory Nav
alias ..="cd .."
alias ...="cd ../.."
function commit() {
git commit $@;
parrot --loops=2;
}