I have usually 3-4 Konsole applications running at once. Each konsole may have 1-4 bash shells within it. Because konsole is session-managed by KDE, when I log in each morning I get the same konsole windows with the same number of bash shells in each. Each bash shell also has the same cwd as it did the previous evening before logout and shutdown.
The problem is that the command histories are not preserved. The .bash_history file contains the history of whatever bash saved to it last before logout. The solution, then, is to have each shell save to a different history file, and for konsole to instruct the shell to re-read that history file when it is restarted.
Is there any easy way to do this, or do I have to hack konsole? It's written in C++, so I'd really rather avoid the source.
Cheers, Carl.
