1

I'm trying to find a way to scroll through the suggestions made by the auto-complete feature in the gnome terminal.

For example if I type

sudo apt-get install xserver-

and use double tab, there are large amounts of suggetions going over a page. Is there a set of keys to scroll back and forth though these suggestions?

Maythux
  • 82,867
  • 54
  • 239
  • 271
  • See Fabby's answer in that post. It's a bit verbose, but what you want is the `menu-complete` setting in it. – muru May 11 '15 at 10:53
  • 1
    For better navigation through the suggestions I use `zsh`. – A.B. May 11 '15 at 10:54

1 Answers1

1

The double tab will try to autocomplete or list the available files/commands/etc...

This double tab opened using more .

man more

 more is a filter for paging through text one screenfull at a time.

to move between screens you have to use the Space key and to move down one line, use Enter.

A nice answer provided here

By default TAB is bound to the complete readline command. Your desired behavior would be menu-complete instead. You can change your readlines settings by editing ~/.inputrc. To rebind TAB, add this line:

TAB: menu-complete

Now you can move between list of outputs using Tab

Maythux
  • 82,867
  • 54
  • 239
  • 271