From abb29c2c6dfd136337025cd3ac8dbfcf97c368b4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 19 Jun 2021 08:37:56 +0200 Subject: [PATCH] magit: Colorize process output after it finished. --- init.d/programming/git.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.d/programming/git.el b/init.d/programming/git.el index dd51421..b62e875 100644 --- a/init.d/programming/git.el +++ b/init.d/programming/git.el @@ -17,8 +17,9 @@ (use-package magit :unless slow-computer :after (keychain-environment) - :custom (magit-diff-refine-hunk 'all) ; Show word-granularity differences. - :bind (("C-x g" . nil) ; Disable default. + :custom ((magit-diff-refine-hunk 'all) + (magit-process-finish-apply-ansi-colors t)) + :bind (("C-x g" . nil) ; Disable default. ("C-c g" . magit-status) ("C-c M-g" . magit-dispatch) (:map magit-hunk-section-map