aboutsummaryrefslogtreecommitdiffstats
path: root/batnote
diff options
context:
space:
mode:
Diffstat (limited to 'batnote')
-rwxr-xr-xbatnote5
1 files changed, 5 insertions, 0 deletions
diff --git a/batnote b/batnote
index 3e5502e..a050e87 100755
--- a/batnote
+++ b/batnote
@@ -10,6 +10,11 @@ CAT=/usr/bin/cat
#LESS=/usr/bin/less
VIM=/usr/bin/vim
+# it is batcat on Debian hosts
+if [[ -x /usr/bin/batcat ]]; then
+ BAT=/usr/bin/batcat
+fi
+
set -e
CMD="$BAT"