Commit 4ba9bcceb0db33adee588d8fb061a2fe62e21487

Thomas de Grivel 2023-01-26T14:09:53

color verbose messages

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 9942879..2482a0c 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -56,9 +56,9 @@ export LDFLAGS="${LDFLAGS} -L${SHPKG_LIB_DIR}"
 export PKG_CONFIG_PATH="${SHPKG_LIB_DIR}/pkgconfig"
 
 verbose () {
-    echo -e -n '\e[0;97;44m'
-    echo "$@"
-    echo -e -n '\e[0m'
+    printf '\e[0;34m'
+    echo -n "$@"
+    printf '\e[0m\n'
     "$@"
 }