From: Armaan Bhojwani Date: Sat, 3 Apr 2021 01:17:40 +0000 (-0400) Subject: Add custom eshell prompt X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=c4c5b7701627f082221cc0df26a30c6fd2023e7b Add custom eshell prompt --- diff --git a/config.org b/config.org index 567dc32..2a30009 100644 --- a/config.org +++ b/config.org @@ -511,6 +511,15 @@ Use Emacs globally. Use the Emacs daemon and bind a key in your wm to #+begin_src emacs-lisp (use-package emacs-everywhere) #+end_src +** Eshell +#+begin_src emacs-lisp + (setq eshell-prompt-function + (lambda nil + (propertize (concat + "\n" (eshell/pwd) " ➤ ") + 'face '(:foreground "cyan"))) + eshell-highlight-prompt nil) +#+end_src * Emacs IDE ** LSP *** General