News for hackers. Stuff that matters.
Re:Ask HN: Programs that saved you 100 hours? by m463 on Monday April 13, 2020 @08:10AM (#22855100)
I make one change to every new .bashrc file.

I change this:

  HISTSIZE=1000
  HISTFILESIZE=2000
to:

  HISTSIZE=1000000
  HISTFILESIZE=2000000
You would be surprised how useful this one change has been, answering historical questions easily, like how to generate that rsa key, or what packages did I install for that project last year.

You can usuall answer questions with ^r instead of the man page. Or maybe:

  "history | grep -C 10 <foo>"

There are no comments on this comment yet.