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

302 B

Shell Script

Enable electric pairing in shell script buffers.

  (add-hook 'sh-mode-hook 'electric-pair-local-mode)

Enable electric indentation in shell script buffers.

  (add-hook 'sh-mode-hook 'electric-indent-local-mode)