diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2014-08-20 23:52:05 +0200 |
---|---|---|
committer | Fredrik Fornwall <fredrik@fornwall.net> | 2014-08-20 23:52:05 +0200 |
commit | dac2a6e27a23071226495bfee54b390135cb20b6 (patch) | |
tree | 42e5e8f13bd313b41b79218e543fa03855153e0f /tools/install.sh | |
parent | 1b7a3ea99a8b566510ab7881063148c43be6b98d (diff) | |
download | zsh-dac2a6e27a23071226495bfee54b390135cb20b6.tar.gz zsh-dac2a6e27a23071226495bfee54b390135cb20b6.tar.bz2 zsh-dac2a6e27a23071226495bfee54b390135cb20b6.zip |
Replace /usr/bin/env with env
Some environments (such as Android) does not have /usr/bin.
Diffstat (limited to 'tools/install.sh')
-rwxr-xr-x | tools/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh index fc7ad70cf..7efab10b9 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -10,7 +10,7 @@ if [ -d "$ZSH" ]; then fi echo "\033[0;34mCloning Oh My Zsh...\033[0m" -hash git >/dev/null 2>&1 && /usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git $ZSH || { +hash git >/dev/null 2>&1 && env git clone https://github.com/robbyrussell/oh-my-zsh.git $ZSH || { echo "git not installed" exit } @@ -43,5 +43,5 @@ echo "\033[0;32m"'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '"\033[0m echo "\033[0;32m"' /____/ ....is now installed!'"\033[0m" echo "\n\n \033[0;32mPlease look over the ~/.zshrc file to select plugins, themes, and options.\033[0m" echo "\n\n \033[0;32mp.s. Follow us at http://twitter.com/ohmyzsh.\033[0m" -/usr/bin/env zsh +env zsh . ~/.zshrc |