From 66c38ad4f369a6d184f1a20628370c6ff005c380 Mon Sep 17 00:00:00 2001
From: Drew Short <warrick@sothr.com>
Date: Wed, 9 Sep 2015 16:44:36 -0500
Subject: [PATCH] Adding a basic zshrc for OhMyZsh

---
 bootstrap.sh | 15 +++++++++------
 zshrc        | 15 +++++++++++++++
 2 files changed, 24 insertions(+), 6 deletions(-)
 create mode 100644 zshrc

diff --git a/bootstrap.sh b/bootstrap.sh
index 6c53e4d..1a62fbd 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -11,18 +11,21 @@
 # Make a backup of the existing file if it exists
 # Then link to our supplied dotfile
 link() {
-    if [ -f "$HOME/$1" ]; then    
-        cp "$HOME/$1" "$HOME/$1.old"
-        echo "Backed up original $1 to $HOME/$1.old"
+    if [ -f "$1/$2" ]; then    
+        cp "$1/$2" "$1/$2.old"
+        echo "Backed up original $2 to $1/$2.old"
     fi
-    ln -sf "$PWD/$2" "$HOME/$1"
+    ln -sf "$PWD/$3" "$1/$2"
 }
 
 set -x
 set -e
 
 # Configure .vimrc
-link ".vimrc" "vimrc"
+link "$HOME" ".vimrc" "vimrc"
 
 # Configure .gitconfig
-link ".gitconfig" "gitconfig"
+link "$HOME" ".gitconfig" "gitconfig"
+
+# Configure .zshrc
+link "$HOME" ".zshrc" "zshrc"
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..9f15868
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,15 @@
+#
+# Using Oh My ZSH
+# https://github.com/robbyrussell/oh-my-zsh
+#
+
+export ZSH=$HOME/.oh-my-zsh
+
+ZSH_THEME="ys"
+
+plugins=(git)
+
+source $ZSH/oh-my-zsh.sh
+
+export LANG=en_US.UTF-8
+export EDITOR='vim'