Skip to content

Commit

Permalink
Adds alias to clean git repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephraim Gregor committed Dec 23, 2015
1 parent 98976a2 commit f351aa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export EDITOR=vim

alias ll='ls -lah'

# Taken from http://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged
alias gitcl='git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d'

if [[ $- == *i* ]]; then
# Custom bash prompt via kirsle.net/wizards/ps1.html
export PS1="\[$(tput setaf 4)\]\u \[$(tput setaf 6)\]\W\\$\[$(tput sgr0)\] \[$(tput sgr0)\]"
Expand Down

0 comments on commit f351aa7

Please sign in to comment.