From f5268d91ff468b72d9e0c45fe0a17def65591475 Mon Sep 17 00:00:00 2001 From: nickl- Date: Fri, 7 Dec 2012 02:02:17 +0200 Subject: [PATCH] Fix minor glitch introduced by string concatenation --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index d85362db..39e96407 100755 --- a/install.sh +++ b/install.sh @@ -195,9 +195,10 @@ for param in "$@"; do for type in "aliases" "plugins" "completion"; do while true; do - read -p "Would you like to enable all, some, or no ${type}?" \ - "Some of these may make bash slower to start up" \ - "(especially completion). (all/some/none)" RESP + prompt=("Enable ${type}: Would you like to enable all, some, or" \ + "no ${type}? Some of these may make bash slower to start up" \ + "(especially completion).") + read -p "${prompt[*]} [all/some/none] " RESP case ${RESP} in some) load_some "${type}"