[Bug 278230] sh: Multiple instances overwrite each other's history

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Apr 2024 13:18:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278230

--- 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 session
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-multiple-terminal-windows

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

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