Adding a fancy prompt for eshell.

This commit is contained in:
Derek Taylor
2024-10-03 21:25:51 -05:00
parent 621d8828a1
commit 832f2dd524
2 changed files with 16 additions and 8 deletions

View File

@@ -952,10 +952,14 @@ In my configs, all of my shells (bash, fish, zsh and the ESHELL) require my shel
Eshell is an Emacs 'shell' that is written in Elisp.
#+begin_src emacs-lisp
;; The eshell prompt
(setopt eshell-prompt-function 'fancy-shell)
(setopt eshell-prompt-regexp "^[^#$\n]* [$#] ")
(setopt eshell-highlight-prompt nil)
;; Disabling company mode in eshell, because it's annoying.
(setq company-global-modes '(not eshell-mode))
(use-package eshell-toggle
:custom
(eshell-toggle-size-fraction 3)