Automatically add execute permission to files with a shebang line
This commit is contained in:
parent
3e0e5bcad8
commit
00a9a08afb
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ fundamental-mode) for performance sake."
|
|||
;; Built-in plugins
|
||||
;;
|
||||
|
||||
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
||||
|
||||
;; revert buffers for changed files
|
||||
(global-auto-revert-mode 1)
|
||||
(setq auto-revert-verbose nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue