[ditz-talk] ditz ALWAYS uses less, even when outputting only like 4 lines.

Nate Murray nate at natemurray.com
Thu Nov 20 12:40:42 EST 2008


checkout the -e and -E options of less. I have in my ~/.profile

export LESS="-erXF"

I believe the -E will do what you want in that it will quit
automatically at end of file.

Nate

On Thu, Nov 20, 2008 at 7:42 AM, Matthew Wilson <matt at tplus1.com> wrote:
> When I run "ditz mine" it puts the results in something like a less or
> a more buffer.  This is great when there are lots and lots of rows in
> the output, but when there are just like 10 lines or less, it means I
> have to press "q".
>
> Sure, I'm a princess complaining about a pea under my mattress, but is
> there some way to configure ditz so it only puts the results in a
> pager when the results are bigger than some size?
>
> Mattt
>
> --
> Matthew Wilson
> matt at tplus1.com
> http://tplus1.com
> _______________________________________________
> ditz-talk mailing list
> ditz-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ditz-talk
>


More information about the ditz-talk mailing list