From 1314faaae6b59b302779c736ae2bf3d3fc10bcc0 Mon Sep 17 00:00:00 2001 From: Lian Drake Date: Fri, 25 Oct 2024 14:36:07 -0400 Subject: [PATCH] Added batman script --- local/bin/batman | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 local/bin/batman diff --git a/local/bin/batman b/local/bin/batman new file mode 100755 index 000000000..035565390 --- /dev/null +++ b/local/bin/batman @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -f "$1" ]; then + col -bx < "$1" | bat --language man --plain +else + col -bx | bat --language man --plain +fi