diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-28 17:27:16 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-28 17:27:16 +0000 |
commit | 35350e37528635d4ff43c2dcccfa4bdec87350c2 (patch) | |
tree | 24f763d26a777d341c352dd62c60dd1cab363c2d | |
parent | 49f584e813fc4daa9702cd533de7725752ac990a (diff) |
Fixed for debian batcat
-rwxr-xr-x | batnote | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |