]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Add custom eshell prompt
[config.org.git] / config.org
index 567dc32f29c57289eee3cfb578b3d0a2adb91d0a..2a300090adde83cb400bf2cbd348234c38ad0002 100644 (file)
@@ -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