[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get eshell to do what I used to do with shell
From: |
James Thomas |
Subject: |
Re: How to get eshell to do what I used to do with shell |
Date: |
Sun, 11 Aug 2024 02:31:13 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
KARR, DAVID wrote:
> My old wrapper had these features:
> * In a non-shell buffer, execing the main func would either create the
> first shell buffer, or go to the first one in the chain, perhaps
> called the 0th.
> * In a shell buffer, execing the main func would create a new shell in
> the chain, using the current directory
> * In a shell buffer, execing the "goto-next-shell" func would move to
> the next buffer in the chain, or back to 0 if at the end
> * In a shell buffer, execing the "find-shell-with-dir" func would take
> a string argument and find the next buffer in the chain where the pwd
> has that string as a substring
>
> I think all of these are doable
They should be, but lemme just say that I think a better way to use
eshell is to have a single buffer: the ability to transparently 'cd' to
different remotes and selectively open async output buffers (at least
for me) makes keeping multiple buffers redundant and is more convenient:
if the user is a single person, all the commands are in a particular
sequence, after all.
Regards,
James