Open new eshell buffer without closing the current one
I usually run multiple shell instances in terminal. If you already have one eshell buffer open. You can use prefix command to open a new eshell buffer without closing the current one.
C-u M-x eshell
Here is my implementation of new eshell buffer / instance.
(defun eshell-new-buffer (args)
"Create a new eshell buffer."
(interactive "P")
(eshell "new")
)
(global-set-key (kbd "C-c e e") 'eshell)
(global-set-key (kbd "C-c e n") 'eshell-new-buffer)