From 75e7078d8280440278afc1337f4f14ccabac4bca Mon Sep 17 00:00:00 2001 From: Paul Montague Date: Sat, 23 Dec 2017 12:33:10 +0100 Subject: [PATCH] canceled oh-my-zsh automatic zsh launch --- installation/install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/installation/install b/installation/install index 79e7858..c5a53b6 100755 --- a/installation/install +++ b/installation/install @@ -268,7 +268,11 @@ script_header "ZSH" $C_YELLOW sys_install zsh script_header "OH-MY-ZSH" $C_YELLOW -sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" +curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh > oh-my-zsh.sh +sed -i "s:env zsh:exit:g" oh-my-zsh.sh +chmod 755 oh-my-zsh.sh +./oh-my-zsh.sh +rm oh-my-zsh.sh #no error check here: remote install.sh has a chsh error chsh $USER -s /usr/bin/zsh handle_error $?