diff options
Diffstat (limited to 'Emacs/.config/emacs/elisp/eshell-additions.el')
| -rw-r--r-- | Emacs/.config/emacs/elisp/eshell-additions.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Emacs/.config/emacs/elisp/eshell-additions.el b/Emacs/.config/emacs/elisp/eshell-additions.el index cd068df..6089ff8 100644 --- a/Emacs/.config/emacs/elisp/eshell-additions.el +++ b/Emacs/.config/emacs/elisp/eshell-additions.el @@ -110,9 +110,7 @@ Otherwise, if C-u is used, you can select an instance to spawn." (cond ((null arg) (eshell)) ((numberp arg) - (if (= arg 1) - (eshell nil) - (eshell (1- arg)))) + (eshell arg)) (t (+eshell/--choose-instance)))) (defun +eshell/at-cwd (&optional arg) |
