Skip to content

Instantly share code, notes, and snippets.

@yassersouri
Last active December 13, 2015 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yassersouri/4959407 to your computer and use it in GitHub Desktop.
Save yassersouri/4959407 to your computer and use it in GitHub Desktop.
aliases
# git aliases
alias gs='git status'
alias gl="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gpom='git push origin master'
alias gpo='git push origin'
alias gp='git push'
alias glom='git pull origin master'
alias glo='git pull origin'
alias gm='git commit -m'
alias gma='git commit -am'
alias gc='git checkout'
alias gd='git diff'
# python aliases
alias ip='ipython qtconsole --pylab=inline'
alias pyserver='python -m SimpleHTTPServer'
alias p='python'
## mac osx 10.9 aliases
alias ecv='export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH"'
alias noerr='export CFLAGS=-Qunused-arguments; export CPPFLAGS=-Qunused-arguments'
# node install path
export PATH=/usr/local/share/npm/bin:$PATH
#application aliases
alias e='open -a Sublime\ Text'
#terminal ls coloring
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment