When ever i use [Tab] for auto-complete in bash, if the output is more than the screen buffer, it automatically starts it under more
e.g.
$cd [tab][tab] x/ y.log z/ a.out b/ c/ --More--
Can anyone tell me, How can I change this more to less so that it can be <[tab][tab]> | less instead of <[tab][tab]> | more
$cd [tab][tab] x/ y.log z/ a.out b/ c/ :_
On Mon, 2005-12-05 at 16:52 +0530, (रेवंत) Revant Nandgaonkar wrote:
Can anyone tell me, How can I change this more to less so that it can be <[tab][tab]> | less instead of <[tab][tab]> | more
Try: export PAGER=less export LESS="your fav. less options"
still i'm stuck with more,
echo $PAGER shows /usr/bin/less
when it I press Tab twice, avaliable commands are shown with more
Sometime Today, RN cobbled together some glyphs to say:
when it I press Tab twice, avaliable commands are shown with more
well, man bash says that this is an internal more like pager (do man bash and search for pager).