Commit 763ec1276bebc10a9709ff0d574b87ca222f7bc1

Thomas de Grivel 2023-01-26T14:02:41

color verbose messages

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 8576dbf..5961e08 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -56,7 +56,9 @@ export LDFLAGS="${LDFLAGS} -L${SHPKG_LIB_DIR}"
 export PKG_CONFIG_PATH="${SHPKG_LIB_DIR}/pkgconfig"
 
 verbose () {
+    echo -ne "\e[104m"
     echo "$@"
+    echo -ne "\e[0m"
     "$@"
 }