From 6f8b18b1f801da24e8a46c4125c03965a79c36f7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 18 Jan 2021 23:21:25 -0600 Subject: Make scripts executable automatically --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index 9cfa688..2532b50 100644 --- a/config.org +++ b/config.org @@ -1290,6 +1290,12 @@ from [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-order-of-mag ** Language-specific packages +*** Executable scripts + + #+begin_src emacs-lisp + (add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p) + #+end_src + *** Emacs lisp #+begin_src emacs-lisp -- cgit 1.4.1-21-gabe81