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


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to