> -----Original Message-----
> From: devel-boun...@lists.fedoraproject.org [mailto:devel-
> boun...@lists.fedoraproject.org] On Behalf Of Kevin Fenzi
> Sent: Monday, February 16, 2015 09:25
> To: devel@lists.fedoraproject.org
> 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to