when installing, add original oh-my-zsh repo as upstream

This commit is contained in:
Nicolas McCurdy 2012-06-22 11:03:13 -04:00
commit 5a2d82d780

View file

@ -6,6 +6,7 @@ fi
echo "\033[0;34mCloning Oh My Zsh...\033[0m" echo "\033[0;34mCloning Oh My Zsh...\033[0m"
/usr/bin/env git clone https://github.com/thenickperson/oh-my-zsh.git ~/.oh-my-zsh /usr/bin/env git clone https://github.com/thenickperson/oh-my-zsh.git ~/.oh-my-zsh
/usr/bin/env git remote add upstream https://github.com/robbyrussell/oh-my-zsh.git
echo "\033[0;34mLooking for an existing zsh config...\033[0m" echo "\033[0;34mLooking for an existing zsh config...\033[0m"
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ] if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]