[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to change default pager for tab completions from 'more' to 'less'



On Wed, Apr 02, 2014 at 01:34:54PM -0700, tom arnall wrote:
> if i use tab completion, and there are a lot of possibilities, 'more'
> is used as the default pager to show the list. I want to see the list
> with the 'less' pager.
> 
> example:
> 
>      ~/$ cd<tab>
> 
> will get:
> 
>     Display all 150 possibilities? (y or n)
> 
> if i enter 'y',  the 'more' pager is used to display the list.  ;o(
> 
> i want 'less'.  ;o)
> 

man update-alternatives

/etc/alternatives provides a setting for pager

update-alternatives --config pager

should do it if you execute this command as root / root equivalent via sudo.

Hope this helps,

AndyC

> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] CAFKYrxrHL60YdvgfoH_e0LPZEkdw7W2ntVZCFgrt4CWDeL6gpg@mail.gmail.com">https://lists.debian.org/[🔎] CAFKYrxrHL60YdvgfoH_e0LPZEkdw7W2ntVZCFgrt4CWDeL6gpg@mail.gmail.com


Reply to: