X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/d57efaef2f43f31e961bb3a8e45b22473a0a1b26..47a995364ae7eabff5046702cce0fc7604f2fff7:/xdg-ninja.sh diff --git a/xdg-ninja.sh b/xdg-ninja.sh index 1cf3d71..602f262 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -71,7 +71,7 @@ if [ -z "${XDG_RUNTIME_DIR}" ]; then fi if ! command -v jq >/dev/null 2>/dev/null; then - printf "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script." + printf "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script.\n" exit fi @@ -129,7 +129,7 @@ log() { 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