neodotfiles/local/bin/batman
2024-10-25 14:36:07 -04:00

6 lines
124 B
Bash
Executable file

#!/bin/sh
if [ -f "$1" ]; then
col -bx < "$1" | bat --language man --plain
else
col -bx | bat --language man --plain
fi