neodotfiles/local/bin/batman
2024-11-02 07:02:51 -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