RE: Which of the changes introduced in F21 might affect bash history?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: devel-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:devel-
> bounces@xxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kevin Fenzi
> Sent: Monday, February 16, 2015 09:25
> To: devel@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Which of the changes introduced in F21 might affect bash
> history?
> 
> Perhaps this post from AdamW would be related:
> 
> https://www.happyassassin.net/2015/01/16/bash-history-with-multiple-
> sessions/
> 
> kevin

Thanks for that Kevin!  When I last attempted defeating bash's history trimming I had tried to beat it at its own game by migrating a healthy chunk of ~/.bash_history into my own auxiliary file during login so that whatever I did in that session would be (hopefully) less than what had been archived therefore making it unnecessary for bash to do anything.  It sort of worked and why it sort of failed was due to a bug I just couldn't see or due to a bad choice in that chunk size I never learned -- it just never bothered me quite enough to sort it all out.

I really like this prompt_command() idea; that's very clever.  Thank you (and AdamW) for sharing that!


--
John Florian
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux