From 1d4b7266d0552d4e49deb049e0279a69c8ca5d2f Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 24 May 2018 16:40:25 +0100 Subject: [PATCH] installation has been finished --- scripts/install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 007c7ae..0a40603 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -68,16 +68,19 @@ main() { pwd=`pwd` cd $ZSH - $(env git submodule init) || { + env git submodule init || { printf "Error: git submodule of My.Zsh repo failed\n" exit 1 } + + env git submodule update + cd $pwd printf "${BLUE}Looking for an existing zsh config...${NORMAL}\n" if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then printf "${YELLOW}Found ~/.zshrc.${NORMAL} ${GREEN}Backing up to ~/.zshrc.backup ${NORMAL}\n"; - mv ~/.zshrc ~/.zshrc.override; + mv ~/.zshrc ~/.zshrc.backup; fi printf "${BLUE}Using the My.Zsh template file and adding it to ~/.zshrc${NORMAL}\n"