From 9fff0bdfee06b7023dd868e35c16aa25fe72416f Mon Sep 17 00:00:00 2001 From: Matt Hazinski Date: Mon, 21 May 2012 04:49:22 -0300 Subject: [PATCH] Modified tools/install.sh to download a tarball instead of depending on git --- tools/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/install.sh b/tools/install.sh index aedb706da..a1d9e9e9f 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -5,7 +5,11 @@ then fi echo "\033[0;34mCloning Oh My Zsh...\033[0m" -/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh +/usr/bin/env wget --no-check-certificate -O oh-my-zsh.tar.gz https://github.com/robbyrussell/oh-my-zsh/tarball/master +mkdir ~/.oh-my-zsh +tar -xzf oh-my-zsh.tar.gz -C ~/.oh-my-zsh --strip-path=1 +rm oh-my-zsh.tar.gz + echo "\033[0;34mLooking for an existing zsh config...\033[0m" if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]