From 85ac0c9ff56a3a134b0bf81f4e5bd649234bb6d3 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Fri, 13 Aug 2021 13:28:57 -0300 Subject: [PATCH] Add prompt echoing --- install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 4f1c250..59813db 100755 --- a/install.sh +++ b/install.sh @@ -328,17 +328,20 @@ prompt_all() { prompt_drive - echo "Choose timezone:" + echo -n "Choose timezone:" qpushd /usr/share/zoneinfo TIMEZONE="$(fzf --layout=reverse --height=20)" qpopd + echo "$TIMEZONE" - echo "Choose locale:" + echo -n "Choose locale:" LOCALE=$(sed '/^#\s/D' < /etc/locale.gen | sed '/^#$/D' | sed 's/^#//' | fzf --layout=reverse --height=20) + echo "$LOCALE" [ -f keyboard-map.csv ] || curl -sL "$KEYBOARD_MAP" -o keyboard-map.csv - echo "Choose keyboard layout:" + echo -n "Choose keyboard layout:" KBD_LAYOUT="$(awk -F, '{print $1}' keyboard-map.csv | fzf --layout=reverse --height=20)" + echo "$KBD_LAYOUT" ask_password root ROOT_PASSWORD="$USER_PASSWORD"