Modify ↓
Opened 21 years ago
Closed 21 years ago
#1379 closed defect (fixed)
Bash shell syntax hilighting needs a new mime-type added.
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.8.1 |
| Severity: | normal | Keywords: | syntax hilight bash shell script |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Currently bash (sh) hilighting only works if you set the mime-type to application/x-sh or have a .sh suffix on the file. Sometimes you don't want a .sh suffix, so you set the mime-type. The problem is that setting it to application/x-sh marks the file as binary therefore disabling svn diff.
The solution is to add text/x-sh as a handler in /trac/mimeviewers/enscript.py.
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Good suggestion. Done in [1466].