aboutsummaryrefslogtreecommitdiffstats
path: root/common_move_in.sh
diff options
context:
space:
mode:
authorjason2015-02-17 10:15:46 -0700
committerjason2015-02-17 10:15:46 -0700
commitd4644fdbd245c1e48ebdaf2e9b30edc899ad9bb9 (patch)
tree674dfc5cc1f9f6056fb8c366b3719cc96d5ccd6d /common_move_in.sh
parent697131af904ba0d5ceb9f4321039ea87325c5b77 (diff)
downloaddotfiles-d4644fdbd245c1e48ebdaf2e9b30edc899ad9bb9.tar.gz
dotfiles-d4644fdbd245c1e48ebdaf2e9b30edc899ad9bb9.zip
added oh-my-zsh to common
Diffstat (limited to 'common_move_in.sh')
-rwxr-xr-xcommon_move_in.sh28
1 files changed, 23 insertions, 5 deletions
diff --git a/common_move_in.sh b/common_move_in.sh
index f287c3d..06aa7b0 100755
--- a/common_move_in.sh
+++ b/common_move_in.sh
@@ -1,5 +1,13 @@
1#!/bin/bash 1#!/bin/bash
2 2
3if ! [ -d "$HOME/.oh-my-zsh" ]; then
4 echo "Installing Oh My ZSH"
5 curl -L http://install.ohmyz.sh | sh
6
7 # Remove the default config in favor of our own later on in this script
8 rm $HOME/.zshrc
9fi
10
3if ! [ -d "$HOME/Code" ]; then 11if ! [ -d "$HOME/Code" ]; then
4 mkdir $HOME/Code 12 mkdir $HOME/Code
5fi 13fi
@@ -15,13 +23,23 @@ else
15fi 23fi
16CWD=`pwd` 24CWD=`pwd`
17 25
18echo "Linking vim settings..." 26if ! [ -e "$HOME/.vimrc" ]; then
19ln -s $CWD/vim $HOME/.vim 27 echo "Linking vim settings..."
20ln -s $CWD/vim/vimrc $HOME/.vimrc 28 ln -s $CWD/vim $HOME/.vim
29 ln -s $CWD/vim/vimrc $HOME/.vimrc
30fi
31
32if ! [ -e "$HOME/.zshrc" ]; then
33 echo "Linking .zshrc..."
34 ln -s $CWD/zshrc $HOME/.zshrc
35fi
21 36
37# OS X Only setup
22if [[ $OSTYPE == darwin* ]]; then 38if [[ $OSTYPE == darwin* ]]; then
23 echo "Linking amethyst config..." 39 if ! [ -e "$HOME/.amethyst" ]; then
24 ln -s $CWD/amethyst $HOME/.amethyst 40 echo "Linking amethyst config..."
41 ln -s $CWD/amethyst $HOME/.amethyst
42 fi
25fi 43fi
26 44
27echo "Done." 45echo "Done."