Mac/Linux compability.

This commit is contained in:
Bartek Stalewski 2013-08-19 13:14:28 +02:00
parent 90cf3a2a3e
commit 9650c81bae

View File

@ -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 cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
sed -i -e 's/robbyrussell/nicoulaj/' ~/.zshrc sed -i -e 's/robbyrussell/nicoulaj/' ~/.zshrc
sed -i -e 's/# CASE_SENSITIVE/CASE_SENSITIVE/' ~/.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 "zstyle ':vcs_info:*' enable hg bzr git svn" >> ~/.zshrc
echo "[ -e ~/.zshrc.local ] && source ~/.zshrc.local" >> ~/.zshrc echo "[ -e ~/.zshrc.local ] && source ~/.zshrc.local" >> ~/.zshrc