Skip to content

Instantly share code, notes, and snippets.

@progrium
Last active August 29, 2015 14:07
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 progrium/6a24ae8d7ab93bc65579 to your computer and use it in GitHub Desktop.
Save progrium/6a24ae8d7ab93bc65579 to your computer and use it in GitHub Desktop.
export PS1="\[\033[01;31m\]\$(status=\$?; [[ \$status -ne 0 ]] && echo \"[\$status] \")\[\033[01;32m\]\u@\h \[\033[01;34m\]\w\n\$ \[\033[00m\]"
alias reload="curl -s https://gist.githubusercontent.com/progrium/6a24ae8d7ab93bc65579/raw/gistfile1.txt > ~/.profile.me; source ~/.profile"
alias g="git"
alias gpr="git pull --rebase origin"
alias gprr="git pull --rebase"
alias gpu="git push origin"
alias gpuu="git push"
alias gs="git status"
alias ga="git add --all ."
alias gd="git diff"
alias gc="git commit -m"
alias gce="EDITOR=vim git commit"
alias gu="git reset --soft HEAD^1"
alias p="cd ~/Projects && cd"
alias pv="cd ~/Projects && vagrant"
alias v="vagrant"
alias d="docker"
alias dr="docker run --rm"
alias dri="docker run --rm -it"
alias drd="docker run -d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment