From c3358c62f1f72628d2838f58bf83003f15f50be8 Mon Sep 17 00:00:00 2001 From: thomasba Date: Thu, 17 Sep 2015 22:32:59 +0200 Subject: [PATCH] Fixed small issue --- install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install b/install index 56b3ab5..6250082 100755 --- a/install +++ b/install @@ -91,13 +91,13 @@ if [ $? -ne 0 ] ; then cecho yellow " ! and remove the .zshrc file in your home directory. " else cecho green " . grml-zsh-config is already installed :-)" + # prevent configuration dialog + if [ ! -f "~/.zshrc" ] ; then + cecho green " + Creating empty .zshrc" + echo "# empty" > ~/.zshrc + fi fi -# prevent configuration dialog -if [ ! -f "~/.zshrc" ] ; then - cecho yellow " + Creating empty .zshrc" - echo "# empty" > ~/.zshrc -fi symlink "~/.zsh" "${MY_PATH}/zsh" symlink "~/.zshrc.local" "${MY_PATH}/zsh/zshrc.local"