Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.unix.shell Subject: Re: [ksh] Show command number in shell prompt Date: Thu, 26 Sep 2024 14:21:31 +0200 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 26 Sep 2024 14:21:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2605737c97ff88ac87e773da595ceb0b"; logging-data="204449"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Pmn8xfMjXjKwc4TBYyr6s" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:YfiToGQOOZTU8zJWRcqmHm3vq8M= In-Reply-To: Bytes: 1989 On 26.09.2024 00:26, Kees Nuyt wrote: > On Wed, 25 Sep 2024 00:41:21 +0200, Janis Papanagnou > wrote: > >> 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 do that per "project" My "windows" are actually also dedicated to "projects", where every project typically uses 1..3 shell terminals. > > To switch projects, I source a bash script which ends like this: > [...] > test -f .fslckout && fossil status > test -f .fslckout && fossil stash list --verbose > [...] What is 'fossil'? Janis