1
0
Fork 0

Automatically make shell scripts executable

This commit is contained in:
Tom Willemse 2020-04-20 15:06:36 -07:00
parent 0599e05695
commit 3486bfd3ef

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2020.0407.211305
;; Version: 2020.0417.142006
;; Package-Requires: (reformatter oni-flycheck oni-fci oni-smartparens)
;; This program is free software; you can redistribute it and/or modify
@ -44,6 +44,7 @@
:group 'shfmt)
(add-hook 'sh-mode-hook 'electric-indent-local-mode)
(add-hook 'sh-mode-hook 'executable-make-buffer-file-executable-if-script-p)
(add-hook 'sh-mode-hook 'fci-mode)
(add-hook 'sh-mode-hook 'flycheck-mode)
(add-hook 'sh-mode-hook 'shfmt-on-save-mode)