From 6ef24b2e6a01bc850da00c860c5c7d243b14917b Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Fri, 5 Mar 2021 11:37:17 -0500 Subject: [PATCH] Make pfetch render properly in eshell --- modules/editor.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/editor.el b/modules/editor.el index 81b0020..903ffc0 100644 --- a/modules/editor.el +++ b/modules/editor.el @@ -139,10 +139,19 @@ (use-package eshell-prompt-extras :custom (eshell-highlight-prompt nil) + (eshell-prefer-lisp-functions nil) (eshell-prompt-function 'epe-theme-lambda)) +;; Make ~pfetch~ output as a visual command. + + +(with-eval-after-load 'eshell + (add-to-list 'eshell-visual-commands "pfetch")) + + + ;; Open an =eshell= buffer with =SPC e=.