diff --git a/install.sh b/install.sh index 0ce0eb9..0153f2c 100644 --- a/install.sh +++ b/install.sh @@ -8,7 +8,10 @@ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc sed -i -e 's/robbyrussell/nicoulaj/' ~/.zshrc sed -i -e 's/# CASE_SENSITIVE/CASE_SENSITIVE/' ~/.zshrc -echo '$eval $( gdircolors -b ~/.dotfiles/dircolors ) ' >> ~/.zshrc +case `uname`; in + Linux) echo 'eval $( dircolors -b ~/.dotfiles/dircolors ) ' >> ~/.zshrc ;; + Darwin) echo 'eval $( gdircolors -b ~/.dotfiles/dircolors ) ' >> ~/.zshrc ;; +esac echo "zstyle ':vcs_info:*' enable hg bzr git svn" >> ~/.zshrc echo "[ -e ~/.zshrc.local ] && source ~/.zshrc.local" >> ~/.zshrc