all repos — nixfiles @ b84edf9b8bd5cfa8616808c37aaa18c16f8d2214

System and user configuration, managed by nix and home-manager

Emacs: make bash and fish scripts executable after saving

Alan Pearce
commit

b84edf9b8bd5cfa8616808c37aaa18c16f8d2214

parent

f2ccc74d5362a83c9d3dac2d219e5d73d5984825

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -824,7 +824,7 @@ (ansi-color-apply-on-region compilation-filter-start (point-max)))
(add-hook 'compilation-filter-hook #'colourise-compilation-buffer) ;;;; shell -(general-add-hook 'sh-mode-hook +(general-add-hook '(sh-mode-hook bash-ts-mode-hook fish-mode-hook) (lambda () (general-add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p :append :local)))