aboutsummaryrefslogtreecommitdiff
path: root/utils/inst
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-07 19:08:01 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-07 19:08:01 +0200
commit369b19a10091594de2aa117cd7228cf3824c1e48 (patch)
tree93ff0b810a65a067c69510d4c926557607b78034 /utils/inst
parentaceca49714cbc35a5e6a74341dbf4d3e503d0a2c (diff)
downloadmyconfigs-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/inst')
-rw-r--r--utils/inst4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/inst b/utils/inst
index e0a490e..2bb41f7 100644
--- a/utils/inst
+++ b/utils/inst
@@ -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