Last active
March 3, 2017 15:59
-
-
Save davidfrey/9496735 to your computer and use it in GitHub Desktop.
Clean up your local git branches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Faces of Dave Customization | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxCxegedabagacGx | |
alias ls="gls -lh --color -h --group-directories-first" | |
alias externalip="dig +short myip.opendns.com @resolver1.opendns.com" | |
alias please=sudo | |
PROMPT="$emoji[rocket] $PROMPT" | |
# Add this to your bash or zshell dot files to keep your local git branches sane | |
mrclean() { | |
git branch --merged master | grep -v "\*\|master" | xargs -n 1 git branch -d | |
} | |
# Default Editor | |
export EDITOR=/usr/bin/vim | |
export VISUAL=/usr/bin/vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment