Browse Source

sde-nopaste: improved to handle application/x-shellscript as well

user/amery/wip/mount
Alejandro Mery 14 years ago
parent
commit
c1d16aa850
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/sde-nopaste

+ 1
- 1
bin/sde-nopaste

@ -46,7 +46,7 @@ type=$(file "$file" | cut -d' ' -f2-)
# lang = (bash|c|diff|lua|perl|python|text)
case "$mime" in
text/x-shellscript) lang=bash ;;
text/x-shellscript|application/x-shellscript) lang=bash ;;
text/x-diff) lang=diff ;;
text/x-c) lang=c ;;
*)

Loading…
Cancel
Save