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}"