Sujet : Re: [ksh] Show command number in shell prompt
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.shellDate : 25. Sep 2024, 00:28:03
Autres entêtes
Organisation : None to speak of
Message-ID : <87a5fwptzg.fsf@nosuchdomain.example.com>
References : 1 2 3 4
User-Agent : Gnus/5.13 (Gnus v5.13)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Tue, 24 Sep 2024 15:23:56 +0200, Janis Papanagnou wrote:
[*] Note: Closing a shell window and re-opening it anew will work on the
previous, same history file.
>
I typically have over a dozen shell windows open at a time. They would all
happily clobber the same history file, which somewhat limits its use for
me.
Using a different $HISTFILE for each shell avoids that. I assign
consistent names to shell windows, under tmux, and I construct $HISTFILE
from the name.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */