Browse Source

colorize: add support for plain text files

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 11 years ago
parent
commit
149d27007b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      files/bin/colorize

+ 3
- 0
files/bin/colorize

@ -32,6 +32,9 @@ for f; do
text/x-shellscript)
l=sh
;;
text/plain)
l=text
;;
esac
pygmentize ${l:+-l $l} "$f"

Loading…
Cancel
Save