Re: [ksh] Show command number in shell prompt

Liste des GroupesRevenir à cu shell 
Sujet : Re: [ksh] Show command number in shell prompt
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.unix.shell
Date : 24. Sep 2024, 23:41:21
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vcvf6i$3cb0q$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 24.09.2024 23:31, Lawrence D'Oliveiro wrote:
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.

Of course I have a more complex setup that uses an own history file
per "window"; I use for example a name like ".sh_history_pts_57"
(using 'HISTFILE').

I have yet more functions associated, e.g. a "CWD" or a window title
per "window", etc., to be able to keep and restore yet more context.

Janis


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