Dne 11. 04. 23 v 18:02 stan via devel napsal(a):
I have the following defined in .bashrc:
# this logs the history explicitly before exiting a shell
hx ()
{
history -a;
exit;
}
It means that I have to exit using the command hx when closing a
terminal.
What about using `~/.bash_logout` to avoid the need of `hx`?
Vít