Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2024 13:18:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278230] sh: Multiple instances overwrite each other's history
Message-ID:  <bug-278230-227-APVpGYr9Cu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278230-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278230-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278230

--- Comment #4 from Andrey Korobkov <alster@vinterdalen.se> ---
Sorry, I wasn't clear enough: the issue I had with history in tcsh(1) was
syncing the history after each issued command between multiple terminal ses=
sion
in gnome-terminal(1) tabs.

The solution was adding this line to ~/.cshrc:
alias postcmd 'history -S; history -M'

https://unix.stackexchange.com/questions/88838/preserve-tcsh-history-in-mul=
tiple-terminal-windows

Anyway, thank you for trying to help me with this! :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278230-227-APVpGYr9Cu>