;;; sh-script-conf.el -- Settings for sh-mode.
(eval-when-compile (require 'sh-script))
(setq-default sh-basic-offset 2)

;;; sh-script-conf.el -- Settings for sh-mode.
(eval-when-compile (require 'sh-script))
(setq-default sh-basic-offset 2)
(setq sh-indentation 2)

Fix indentation for shell scripts in Emacs 24.4
Fix indentation for shell scripts in Emacs 24.4

pjones/emacsrc