neodotfiles/local/bin/batman

7 lines
124 B
Text
Raw Permalink Normal View History

2024-11-02 11:02:51 +00:00
#!/bin/sh
if [ -f "$1" ]; then
col -bx < "$1" | bat --language man --plain
else
col -bx | bat --language man --plain
fi