Discussion:
setting buffer mode to shell-script[bash]
(too old to reply)
Marco Maggi
2013-05-26 11:09:19 UTC
Permalink
Ciao,

how do I enable "shell-script[bash]" mode using buffer
local variables? I can do:

### end of file
# Local Variables:
# mode: sh
# End:

to enable "shell-script[sh]", but the Bash variant? I do
*not* want to put "#!/bin/bash" at the top of the file.

TIA
--
Marco Maggi
Michael Heerdegen
2013-05-26 12:36:24 UTC
Permalink
Hello Marco,
how do I enable "shell-script[bash]" mode using buffer local
variables?
the following seems to work:


# Local Variables:
# mode: sh
# eval: (sh-set-shell "bash")
# End:


Regards,

Michael.

Continue reading on narkive:
Search results for 'setting buffer mode to shell-script[bash]' (Questions and Answers)
10
replies
What is AIX Box?
started 2006-05-08 15:58:44 UTC
hardware
Loading...