diff options
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 25d892f..eb82fb5 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1118,7 +1118,7 @@ it's separation (or perhaps better phrased, *integration*) of two you can mix and match at will for use in the shell, which grants greater power than many shells I know of. -*** Configuration +*** Core Setup a function that /toggles/ the eshell window rather than just opening it via =+dx/toggle-buffer=. @@ -1130,7 +1130,13 @@ just opening it via =+dx/toggle-buffer=. "tt" #'+shell/toggle-eshell) :init (setq eshell-cmpl-ignore-case t - eshell-cd-on-directory t) + eshell-cd-on-directory t + eshell-prompt-function + (proc + (concat + (format "[%s]\n" (abbreviate-file-name (eshell/pwd))) + "λ ")) + eshell-prompt-regexp "^λ ") (with-eval-after-load "prog-mode" (+pretty/set-alist eshell-mode-hook |