Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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