Created
August 21, 2012 22:18
-
-
Save jbueza/3419944 to your computer and use it in GitHub Desktop.
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
alias ll='ls -al' | |
alias search=grep | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias rm='rm -i' | |
alias df='df -h' | |
alias glo='git log --oneline --decorate' | |
alias gst='git status' | |
alias gs='git status -sb' | |
alias gci='git commit' | |
alias gp='git push' | |
alias gpom='git pull origin master' | |
alias gco='git checkout' | |
alias gl='git pull' | |
alias gd='git diff' | |
alias gb='git branch' | |
alias gba='git branch -a' | |
alias gbd='git branch -d' | |
alias sup='svn up' | |
alias sci='svn ci' | |
alias sad='svn add' | |
alias sme='svn merge' | |
alias finder='open -a Finder' | |
alias fox='open -a Firefox' | |
alias dev='cd ~/projects' | |
alias editnginx='vim /usr/local/etc/nginx/nginx.conf' | |
function git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \(\1\)/' | |
} | |
PS1=" λ \W\$(git_branch): " | |
PS2=" | " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment