Skip to content

Instantly share code, notes, and snippets.

@boovius
Forked from jescalan/.profile
Created June 20, 2013 00:57
Show Gist options
  • Save boovius/5819470 to your computer and use it in GitHub Desktop.
Save boovius/5819470 to your computer and use it in GitHub Desktop.
# path:
PS1='\[\e[0;33m\]⚡\[\e[m\] \[\e[0;31m\]${PWD##*/}\[\e[m\] '
# general shorcuts
alias ll="ls -lahG"
alias reload="source ~/.profile"
alias up="cd .."
alias back="cd -"
alias desktop="cd ~/Desktop"
alias server="python -m SimpleHTTPServer"
# handy git shortcuts
alias go="git checkout"
alias s="echo ''; git status -sb; echo ''"
alias stage="git add ."
alias c="git commit -am"
alias got='git '
alias get='git '
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias branch="git branch"
alias mpush="git push origin master"
alias mpull="git pull origin master"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment