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

Ohad Lutzky ohad at lutzky.net
Thu Nov 20 10:47:21 EST 2008


On Thu, Nov 20, 2008 at 5:47 PM, Ohad Lutzky <ohad at lutzky.net> wrote:
> ditz, like git, runs less with certain options by default, which
> include -F which causes less to exit if the entire output can be
> displayed on the screen. However, if you've set your LESS environment
> variable, it won't be overridden. Consider adding F to your LESS
> environment variable (echo LESS=\"F\$LESS\" >> ~/.bashrc), or
> unsetting it altogether.
>
> On Thu, Nov 20, 2008 at 5:42 PM, 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
>>
>
>
>
> --
> Man is the only animal that laughs and weeps, for he is the only
> animal that is struck with the difference between what things are and
> what they ought to be.
>  - William Hazlitt
>
> Ohad Lutzky
>



-- 
Man is the only animal that laughs and weeps, for he is the only
animal that is struck with the difference between what things are and
what they ought to be.
 - William Hazlitt

Ohad Lutzky


More information about the ditz-talk mailing list