Skip to content

Instantly share code, notes, and snippets.

@klamping
Created March 9, 2013 21:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klamping/5125758 to your computer and use it in GitHub Desktop.
Save klamping/5125758 to your computer and use it in GitHub Desktop.
Common profile/bashrc settings
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