This script eases the process of moving to new workstations.
All you have to do is put all of your dotfiles (i.e. .vimrc, .zshrc, etc.) into a folder $dir. Each file in $dir should not be preceded by a (.). Next, go into setup_workstation.sh and edit $files, which is specified in setup_environment() to list all your dotfiles, once again without a (.). Finally, run this script and watch your workstation set itself up.
If you store this script and $dir in a git repo, then all you need to do when moving to a new workstation is:
- git clone https://github.com/YourName/$dir.git
- $dir/setup_workstation
- Move all existing dotfiles from ~/ into $olddir
- Symlink all dotfiles from $dir into your home directory
- Install homebrew (if necessary)
- Install git (if necessary)
- Install Vundle (vim plugin manager) if necessary
- Install vim plugins specified in your vimrc using Vundle
- Install zsh (if necessary) and set it to be your default shell