all repos — archive/dotfiles @ 606968a957b29edaf37b1dc9dd4bc4aadd951b93

Superseded by nixfiles

Emacs: Fix sh-mode indentation
Alan Pearce alan@alanpearce.uk
Mon, 31 Oct 2016 10:56:49 +0100
commit

606968a957b29edaf37b1dc9dd4bc4aadd951b93

parent

035dc06da0911c3abea6e1932749fde7e3bbfd35

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1990,7 +1990,8 @@   (use-package sh-script
     :mode (("\\.zsh\\'" . shell-script-mode))
     :config (setq sh-shell-file "/usr/bin/env zsh"
-                  sh-indentation 2))
+                  sh-indentation 2
+                  sh-basic-offset 2))
 #+END_SRC
 
 #+BEGIN_SRC emacs-lisp