http://www.perlmonks.org?node_id=232381


in reply to Re: The problem with one-liners...
in thread The problem with one-liners...

Seconded. I keep a fairly large .zsh_history with SAVEHIST set to about 400 lines (actually I just upped that to 600) and a 1000 line interactive history. If it's anything that I wind up reusing more than about 2-3 times I'll probably throw it into a file (or if it's of specific utility define a shell function and toss that somewhere zsh can autoload it).