neodotfiles/local/bin/batman

7 lines
124 B
Text
Raw Normal View History

2024-10-25 18:36:07 +00:00
#!/bin/sh
if [ -f "$1" ]; then
col -bx < "$1" | bat --language man --plain
else
col -bx | bat --language man --plain
fi