Once upon a time, Chris Murphy <li...@colorremedies.com> said:
> I've implemented the suggested two line change to .bash_profile:
> 
> # User specific environment and startup programs
> shopt -s histappend

This is already in the default /etc/bashrc, at least on Fedora 37 on
CentOS 7 (systems at hand I checked).

> PROMPT_COMMAND="history -a;$PROMPT_COMMAND"

I wouldn't do that part; that's additional disk I/O for every prompt.
Especially when the system might be having issues, users (especially
root) don't need something interfering with every command.  This would
mean an NFS home would insta-hang at the slightest issue.

-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
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