Created
March 9, 2013 21:08
-
-
Save klamping/5125758 to your computer and use it in GitHub Desktop.
Common profile/bashrc settings
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 l="ls -al" | |
alias c="cd" | |
alias b="cd .." | |
alias bb="cd ../.." | |
# application aliases | |
alias v="vim" | |
alias vi="vim" | |
# | |
# Make it easy to edit .bashrc | |
# | |
alias vp="vi ~/.profile" | |
# This alias will allow you to reload .bashrc from any directory. | |
# The bash command to reload a resource file is "source" | |
# sb = "source .bashrc" | |
alias sp="source ~/.profile" | |
# | |
# git aliases | |
# | |
alias ga='git add' | |
alias gb='git branch' | |
alias gc='git commit -m' | |
alias gf='git diff' | |
alias gg='git grep' | |
alias gs='git status' | |
alias gch='git checkout' | |
alias glog='git log' | |
alias gl='git pull' | |
alias gp='git push' | |
alias subl="/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl" | |
## Simple Server | |
alias server="python -m SimpleHTTPServer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment