Re: [ksh] Show command number in shell prompt

Liste des GroupesRevenir à cu shell 
Sujet : Re: [ksh] Show command number in shell prompt
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.shell
Date : 24. Sep 2024, 23: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.com
void Void(void) { Void(); } /* The recursive call of the void */

Date Sujet#  Auteur
24 Sep 24 * [ksh] Show command number in shell prompt12Janis Papanagnou
24 Sep 24 `* Re: [ksh] Show command number in shell prompt11Janis Papanagnou
24 Sep 24  +- Re: [ksh] Show command number in shell prompt1Janis Papanagnou
24 Sep 24  +* Re: [ksh] Show command number in shell prompt3Keith Thompson
25 Sep 24  i`* Re: [ksh] Show command number in shell prompt2Keith Thompson
25 Sep 24  i `- Re: [ksh] Show command number in shell prompt1Janis Papanagnou
24 Sep 24  `* Re: [ksh] Show command number in shell prompt6Lawrence D'Oliveiro
25 Sep 24   +* Re: [ksh] Show command number in shell prompt2Keith Thompson
25 Sep 24   i`- Re: [ksh] Show command number in shell prompt1Kaz Kylheku
25 Sep 24   `* Re: [ksh] Show command number in shell prompt3Janis Papanagnou
26 Sep 24    `* Re: [ksh] Show command number in shell prompt2Janis Papanagnou
26 Sep 24     `- Re: [ksh] Show command number in shell prompt1Christian Weisgerber

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal