dotfiles/emacs/.emacs.d/init/sh-mode-init.org

13 lines
302 B
Org Mode

#+TITLE: Shell Script
Enable electric pairing in shell script buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'sh-mode-hook 'electric-pair-local-mode)
#+END_SRC
Enable electric indentation in shell script buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'sh-mode-hook 'electric-indent-local-mode)
#+END_SRC