Last active
December 13, 2015 18:58
-
-
Save yassersouri/4959407 to your computer and use it in GitHub Desktop.
aliases
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
# 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