From 5aeb375b59ef4898d9d4525f86c3c2cd49ad5258 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 6 Jan 2023 23:40:47 +0800 Subject: theme + eshell: adapt to version 4. theme.el: Modus-themes now uses a great system for customising faces, and this change in configuration adapts to that update. eshell-conf.el: Besides adapting to the new Modus-themes, also add some visual commands for better display. --- eshell-conf.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eshell-conf.el') diff --git a/eshell-conf.el b/eshell-conf.el index 12a35b6..e99f037 100644 --- a/eshell-conf.el +++ b/eshell-conf.el @@ -227,7 +227,7 @@ Just for the completeness." (mapconcat (function (lambda (mark) - (concat (propertize mark 'font-lock-face 'modus-themes-mark-symbol) + (concat (propertize mark 'font-lock-face 'modus-themes-mark-sel) (make-string (- max-length (length mark)) #x20) " -> " (file-truename (expand-file-name mark eshell-mark-directory))))) @@ -502,6 +502,9 @@ For example, \"...\" expands into \"../..\"." (add-to-list 'eshell-visual-commands "mpv" nil #'string=) +(add-to-list 'eshell-visual-subcommands + (list "git" "log" "diff" "show" "help")) + ;;; List files after changing directories (setq eshell-list-files-after-cd t) -- cgit v1.2.3-18-g5258