Added batman script
This commit is contained in:
parent
c9c2dce858
commit
1314faaae6
1 changed files with 6 additions and 0 deletions
6
local/bin/batman
Executable file
6
local/bin/batman
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
if [ -f "$1" ]; then
|
||||||
|
col -bx < "$1" | bat --language man --plain
|
||||||
|
else
|
||||||
|
col -bx | bat --language man --plain
|
||||||
|
fi
|
Loading…
Reference in a new issue