Once upon a time, Chris Murphy <[email protected]> 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 <[email protected]>
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to