Christine McClure

The home for my shortcuts, code snippets, and oft-forgotten directions

www.christinemcclure.com

Installation

Mac/Linux

  1. Use Karl's directions to start.
  2. change the shell to point to zsh:
  3.             $ chsh -s /bin/zsh <username>
                

Windows

Add to C:\users\< username >\.bash_profile file. Use the same format as below.

My aliases:

# Clear screen
alias c='clear'
# Git shortcuts
alias gitck='git checkout'
alias gits='git status'
alias gita='git add'
alias gitm='git commit -m'
alias gitam='git commit -am'
alias gitpom='git push origin master'
alias gitplm='git pull origin master'
alias gitb='git branch'
alias gitck 'git checkout'
alias gitl='git log --pretty=oneline --abbrev-commit'
alias gitlf='git log --pretty=oneline --abbrev-commit --name-only'
alias gitdw='git diff --color-words'
alias gitra='git remote add'
alias gitcb='git checkout -b'