On Tue, 2023-04-11 at 12:18 -0500, Chris Adams wrote: > Once upon a time, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> 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). > yes and Centos 7 means all Fedora since a long time ... I set HISTSIZE=400000 in /etc/profile directly , this because if profile runs and set HISTSIZE to 1000 sometimes happens that .bash_history is truncated . I also do backups of my $HOME/.bash_history (I started with 100000 I doubled 200000 , and my history now have more than 200000 entries ) > > 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 <linux@xxxxxxxxxxx> > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue -- Sérgio M. B. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue