From b7d0f8ce22f84e0a3488a20e1bc6c530bb49b1f8 Mon Sep 17 00:00:00 2001 From: rallias Date: Fri, 22 Feb 2013 15:33:15 -0600 Subject: [PATCH 1/2] Editing so that user uses zsh rather than sh The install script is built for zsh, whereas /bin/sh is not guaranteed to be linked to /bin/zsh. This script makes this slightly happier. --- README.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.textile b/README.textile index 0a4545bac..078ea1227 100644 --- a/README.textile +++ b/README.textile @@ -13,11 +13,11 @@ You can install this via the command line with either `curl` or `wget`. h4. via `curl` -@curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh@ +@curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | zsh@ h4. via `wget` -@wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh@ +@wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh@ h3. The manual way From 0cfbc08d619a658b05192f9ad6b7002a78b418b2 Mon Sep 17 00:00:00 2001 From: rallias Date: Fri, 22 Feb 2013 15:35:15 -0600 Subject: [PATCH 2/2] Apply proper shebang to this script SH is buggy. --- tools/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/install.sh b/tools/install.sh index 41f83e354..899777bba 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -1,3 +1,5 @@ +#!/bin/zsh + if [ -d ~/.oh-my-zsh ] then echo "\033[0;33mYou already have Oh My Zsh installed.\033[0m You'll need to remove ~/.oh-my-zsh if you want to install"