diff options
| author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-11-08 04:19:55 +0000 |
|---|---|---|
| committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-11-08 04:28:09 +0000 |
| commit | 2795248a743f65b1a46c13f641ccc306cb2e18ec (patch) | |
| tree | eadad33f2e81ad318ecd420f8b1d0844b022c3d2 /Emacs/.config/emacs/elisp/eshell-additions.el | |
| parent | a0c8e3ab3eadf54c2752aa358462147341c6102f (diff) | |
| download | dotfiles-2795248a743f65b1a46c13f641ccc306cb2e18ec.tar.gz dotfiles-2795248a743f65b1a46c13f641ccc306cb2e18ec.tar.bz2 dotfiles-2795248a743f65b1a46c13f641ccc306cb2e18ec.zip | |
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) |
