mcfly
mcfly copied to clipboard
change other bash history env?
This has been in my .bashrc for many years:
export HISTSIZE=100000
export HISTTIMEFORMAT=': %Y-%m-%d_%H:%M:%S; '
export HISTIGNORE="&:ls:ll:[bf]g:w:who:exit:history"
export HISTCONTROL="ignoreboth"
I'm looking at swapping in mcfly. Do I need to modify these in any way? Does mcfly's database honor HISTSIZE or does it store/remember forever?
Good question about HISTSIZE
. I don't think McFly currently honors it. I believe .bash_history
will currently grow unbounded as McFly writes to it, as will the database. That would be a nice improvement. (McFly only writes to .bash_history for backwards compatibility-- it works from it's sqlite database.)
HISTTIMEFORMAT
other than UNIX epoch is not currently supported.