Re:Some Terminal Frustrations
by porridgeraisin on Monday February 10, 2025 @02:16AM
(#42997701)
Here's how I think I make sure it doesn't truncate:
shopt -s histappend
shopt -s cmdhist
export HISTCONTROL=ignoreboth
export HISTFILESIZE=-1
export HISTFILE=~/.bash_eternal_history
export HISTSIZE=-1
export HISTTIMEFORMAT="%d/%m/%y %T "
export HISTIGNORE="history:ls:l:ll:pwd:exit:clear"
It's almost a megabyte now... By when did it start to truncate for you?
Re:Some Terminal Frustrations
by kristopolous on Monday February 10, 2025 @05:08AM
(#42998761)
somewhere around a few thousand lines. I want it to support tens of millions. I have a fast enough computer, storage is effectively free. I've tried all those things - everything short of doing a bunch of bpf filters and setting breakpoints on the binary myself.
honestly, with these modern systems this shouldn't be a problem any more. I look forward to it.
Re:Some Terminal Frustrations
by porridgeraisin on Monday February 10, 2025 @05:26AM
(#42998843)
Yeah i have lots. Try my solution might work for you also.
Nice to see there's so many options these days. Someone else mentioned "https://atuin.sh/" in this thread - which is also new to me. Keeping up with things is seemingly impossible