Skip to content

Instantly share code, notes, and snippets.

@strunkandwhite
Last active March 27, 2018 18:26
Show Gist options
  • Save strunkandwhite/2872f2d766ed549cff49f40b2f5f538d to your computer and use it in GitHub Desktop.
Save strunkandwhite/2872f2d766ed549cff49f40b2f5f538d to your computer and use it in GitHub Desktop.
Commands
alias code='function _code(){ cd ~/Dropbox/code/$1; };_code'
alias gu='git pull --rebase'
alias gs='git status'
alias ga='git add .'
alias gp='git push'
alias gc='function _gc() { git commit -m "$1"; };_gc'
if [ -f "/usr/local/opt/bash-git-prompt/share/gitprompt.sh" ]; then
__GIT_PROMPT_DIR="/usr/local/opt/bash-git-prompt/share"
source "/usr/local/opt/bash-git-prompt/share/gitprompt.sh"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment