mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Automatically add execute permission to files with a shebang line
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user