summary refs log tree commit diff
path: root/config/init-shell.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/init-shell.el29
1 files changed, 0 insertions, 29 deletions
diff --git a/config/init-shell.el b/config/init-shell.el
deleted file mode 100644
index 643877b..0000000
--- a/config/init-shell.el
+++ /dev/null
@@ -1,29 +0,0 @@
-;;; init-shell.el --- configure shell -*- lexical-binding: t -*-
-;; Author: Franck Cuny <franck@fcuny.net>
-
-;;; Commentary:
-
-;; configure shell
-
-;;; Code:
-
-(use-package sh-script
-  :defer t
-  :preface
-  (defvar sh-script-initialized nil)
-
-  (defun initialize-sh-script ()
-    (unless sh-script-initialized
-      (setq sh-script-initialized t)
-      (info-lookup-add-help :mode 'shell-script-mode
-                            :regexp ".*"
-                            :doc-spec '(("(bash)Index")))))
-  :init
-  (add-hook 'shell-mode-hook #'initialize-sh-script))
-
-(add-hook 'after-save-hook
-              #'executable-make-buffer-file-executable-if-script-p)
-
-(provide 'init-shell)
-
-;;; init-shell.el ends here