From f8d667341977a445fd701a07112b97896b0ce1f9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 5 Mar 2017 16:39:02 +0100 Subject: Emacs: Configure multi-line eshell prompt --- tag-emacs/emacs.d/init.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index fb279f2..77c4674 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2185,7 +2185,11 @@ nice, when I remember to use it. (use-package eshell :bind ("C-c s" . eshell) :config (progn - (setq eshell-directory-name "~/.emacs.d/eshell") + (setq eshell-directory-name "~/.emacs.d/eshell" + eshell-prompt-function (lambda () + (concat + (eshell/pwd) + "\n$ "))) (add-hook 'eshell-load-hook (lambda () (bind-key "C-c C-l" #'counsel-esh-history eshell-mode-map))))) -- cgit 1.4.1