Browse Source

colorize: add diff support

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

+ 1
- 0
files/bin/colorize

@ -28,6 +28,7 @@ for f; do
case "$mime" in
application/xml) l=xml ;;
text/x-shellscript) l=sh ;;
text/x-diff) l=diff ;;
text/plain)
case "$(file - < "$f" | cut -d' ' -f2-)" in
a\ */python\ script)

Loading…
Cancel
Save