]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
xdg-ninja: change bat flags for retrocompatibility
authorAsperatus <thomas@ballasi.com>
Mon, 16 May 2022 17:29:57 +0000 (13:29 -0400)
committerAsperatus <thomas@ballasi.com>
Mon, 16 May 2022 17:29:57 +0000 (13:29 -0400)
xdg-ninja.sh

index 1cf3d71e49d96f2f74065bdcdff4911a37f57a53..6044cdf17b3e29df95e4b7da11a7b2ae70648c46 100755 (executable)
@@ -129,7 +129,7 @@ log() {
         if $USE_GLOW; then
             printf "%s\n" "$HELP" | glow -
         elif $USE_BAT; then
         if $USE_GLOW; then
             printf "%s\n" "$HELP" | glow -
         elif $USE_BAT; then
-            printf "%s\n" "$HELP" | bat -pp -f --language markdown
+            printf "%s\n" "$HELP" | bat -pp --decorations=always --color=always --language markdown
         else
             printf "%s\n" "$HELP"
         fi
         else
             printf "%s\n" "$HELP"
         fi