Go to this URL https://github.com/robbyrussell/oh-my-zsh for detailed instructions on how to install oh-my-zsh.
Once that is done copy/paste .zshrc file into your home directory (for OS X users type in cd ~).
I prefer to have global aliases listed in a separate file so it can be sourced
to .zshrc file or to .bashrc. This file contain following aliases:
l=lsll=ls -alshowFiles=defaults write com.apple.finder AppleShowAllFiles YES; killAll FinderhideFiles=defaults write com.apple.finder AppleShowAllFiles NO; killAll Finder
vgup=vagrant up; vagrant sshvgdown=vagrant halt --force
add=git add -Apull=git pullpush=git pushst=git statuswho=git shortlog -n -scm=git commitbr=git branchco=git checkoutcp=git cherry-pickdiff=git diffbr-del=git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
.gitconfig file with global git setup.
.vimrc is a file that I've been forked from basti and edited for my need. For
additional information please visit here
.bashrc and .bash_profile files should be updated on SSH server.
.bashrc contain aliases for most used Unix and GitHub commands
.bash_profile contain function for automaticaly source .bashrc file on SSH login