summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs9
1 files changed, 5 insertions, 4 deletions
diff --git a/.emacs b/.emacs
index 68638ce..9cb1fde 100644
--- a/.emacs
+++ b/.emacs
@@ -430,12 +430,8 @@
(defun my/shell-hook ()
(setq truncate-lines nil)
- (setq-local font-lock-comment-face 'default)
- (setq-local font-lock-string-face 'default)
(setq-local recenter-positions '(top middle bottom)))
-(add-hook 'shell-mode-hook 'my/shell-hook)
-
(add-hook 'dired-mode-hook 'diff-hl-dired-mode-unless-remote)
(add-to-list 'ibuffer-saved-filter-groups
@@ -762,6 +758,11 @@
(show-paren-mode t)
(show-paren-predicate t))
+(use-package shell
+ :config
+ (setq shell-font-lock-keywords nil)
+ (add-hook 'shell-mode-hook 'my/shell-hook))
+
(use-package which-key
:custom
(which-key-idle-delay 0.5)