Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#1379 closed defect (fixed)

Bash shell syntax hilighting needs a new mime-type added.

Reported by: jkp@… 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)

Change History (1)

comment:1 by Christian Boos, 20 years ago

Resolution: fixed
Status: newclosed

Good suggestion. Done in [1466].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.