From 2795248a743f65b1a46c13f641ccc306cb2e18ec Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 8 Nov 2025 04:19:55 +0000 Subject: Small changes --- Emacs/.config/emacs/elisp/eshell-additions.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Emacs/.config/emacs/elisp') 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) -- cgit v1.2.3-13-gbd6f