[darcs-users] [darcs-devel] [issue896] darcs get --help" automatically uses pager, which is annoying

Lele Gaifax lele at nautilus.homeip.net
Wed Jun 4 22:49:18 UTC 2008


On Wed, 04 Jun 2008 22:23:39 -0000
Brian Warner <bugs at darcs.net> wrote:

> I know that sometimes this is a good thing, but this time it annoyed
> me.. I wanted to see the help text on the screen at the same time as
> the command I was about to type in, and sending it through less
> prevents me from doing that.

I learned the following trick, now in my ~/.bashrc:

# F: quit if input is less then one page
# X: don't throw away the output after quit under for example xterm
export LESS="FX"

It basically cure the problem,
hope this helps,
ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
lele at nautilus.homeip.net |                 -- Fortunato Depero, 1929.


More information about the darcs-users mailing list