1
0
Fork 0

use bat for certain code files

This commit is contained in:
Luca Bilke 2022-07-26 20:06:01 +02:00
parent 7208a8b392
commit 196040f052
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ case "$(printf "%s\n" "$(readlink -f "$1")" | awk '{print tolower($0)}')" in
convert "$1" "${CACHE}.jpg"
image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
;;
*.ino)
batorcat --language=cpp "$1"
*.ino|*.c|*.php|*.py)
batorcat "$1"
;;
*)
~/.config/lf/pistol "$1"