Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://232327]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-10-23 16:56 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.