help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there an emacs bash script mode / colouring?


From: Anselm Helbig
Subject: Re: Is there an emacs bash script mode / colouring?
Date: Tue, 15 Sep 2009 21:11:55 +0200

Hi!

> This may sound like a silly question, but is there a major/minor mode for 
> emacs that does syntax colouring and auto-formatting of bash scripts?
> 
> I've tried searching the web, but can't seem to find anything applicable.

Well, silly it is. 8-) Bash is supported by sh-mode, which should
already be active when you're using the .sh extension for your
file. If you don't use an extension, it will be activated after a
revert-buffer. 

What version of emacs are you using or what else are you doing that
sh-mode isn't active yet?

HTH, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]