diff options
author | Tom Willemse | 2020-09-08 00:31:06 -0700 |
---|---|---|
committer | Tom Willemse | 2020-09-14 23:23:00 -0700 |
commit | ba9c9754a67b199e09226394623926075a0e2d74 (patch) | |
tree | 02d638ed95f422bfce28cd79aaa6ce9149d6b3b6 /oni-eshell.el | |
parent | c9212149da705dca5aae47f5d08414cdcf71b980 (diff) | |
download | emacs-config-ba9c9754a67b199e09226394623926075a0e2d74.tar.gz emacs-config-ba9c9754a67b199e09226394623926075a0e2d74.zip |
Add ‘eshell-syntax-highlighting’ to Eshell configuration
Diffstat (limited to 'oni-eshell.el')
-rw-r--r-- | oni-eshell.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/oni-eshell.el b/oni-eshell.el index 29760cb..6bcadf6 100644 --- a/oni-eshell.el +++ b/oni-eshell.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2020.0615.100933 -;; Package-Requires: (eshell-fringe-status esh-autosuggest xterm-color) +;; Version: 2020.0908.002925 +;; Package-Requires: (eshell-fringe-status esh-autosuggest xterm-color eshell-syntax-highlighting) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -67,13 +67,14 @@ "Set ‘company-posframe-active-map’ to ‘esh-autosuggest-active-map’." (setq-local company-posframe-active-map esh-autosuggest-active-map)) +(add-hook 'eshell-before-prompt-hook #'oni-eshell--set-xterm-variables) (add-hook 'eshell-first-time-mode-hook #'oni-eshell--set-eshell-C-d) +(add-hook 'eshell-load-hook #'oni-eshell--disable-ansi-color-handling) (add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers) (add-hook 'eshell-load-hook #'oni-eshell--enable-xterm-filter) -(add-hook 'eshell-load-hook #'oni-eshell--disable-ansi-color-handling) (add-hook 'eshell-mode-hook 'esh-autosuggest-mode) +(add-hook 'eshell-mode-hook 'eshell-syntax-highlighting-mode) (add-hook 'eshell-mode-hook 'goto-address-mode) -(add-hook 'eshell-before-prompt-hook #'oni-eshell--set-xterm-variables) (add-hook 'esh-autosuggest-mode-hook #'oni-eshell-fix-esh-autosuggest-active-keymap) |