diff options
author | Karel Kočí <cynerd@email.cz> | 2017-05-07 19:08:01 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-05-07 19:08:01 +0200 |
commit | 369b19a10091594de2aa117cd7228cf3824c1e48 (patch) | |
tree | 93ff0b810a65a067c69510d4c926557607b78034 /utils | |
parent | aceca49714cbc35a5e6a74341dbf4d3e503d0a2c (diff) | |
download | myconfigs-369b19a10091594de2aa117cd7228cf3824c1e48.tar.gz myconfigs-369b19a10091594de2aa117cd7228cf3824c1e48.tar.bz2 myconfigs-369b19a10091594de2aa117cd7228cf3824c1e48.zip |
Small changes in echo to make it look nice even without -n
Diffstat (limited to 'utils')
-rw-r--r-- | utils/inst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,10 +3,10 @@ ask() { if $FORCE; then - echo -ne "\e[1;34m$1\e[0m" + echo -e "\e[1;34m$1\e[0m" # Fall trough with 0 exit (always yes) else - echo -ne "\e[1;34m$1? (Y/n) \e[0m" + echo -e -n "\e[1;34m$1? (Y/n) \e[0m" read [[ $REPLY =~ ^[Yy]?$ ]] fi |