Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: The problem with one-liners...

by perrin (Chancellor)
on Feb 03, 2003 at 17:46 UTC ( #232327=note: print w/replies, xml ) Need Help??


in reply to The problem with one-liners...

They are saved in my (searchable) bash history, and I put the good ones into files so I can run them with ". filename" when I need them again.

Replies are listed 'Best First'.
Re: Re: The problem with one-liners...
by Fletch (Chancellor) on Feb 03, 2003 at 19:58 UTC

    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).