3

more is not as convenient as less.

Is it possible to use something better than more for tab completion, when ls and then tab? Thanks.

  • 1
    I think this is shell dependent. I use the Fish shell which has better autocompletion. Zsh is supposed to have this as well, you just have to enable it first (somehow). – Martin Ueding Sep 29 '14 at 18:07
  • I think switching to zsh or fish is the answer. Bash isn't as sophisticated. – Gilles 'SO- stop being evil' Sep 29 '14 at 23:06
  • @Gilles: Thanks. Will consider zsh some time. – Tim Sep 30 '14 at 0:48
  • 1
    I don't think bash actually uses the program more for tab completion, but internal paging code. – chepner Sep 30 '14 at 13:12
  • @Tim: Zsh needs a bunch of configuring before you get anything, that is my experience. Fish will be nice right out of the box. – Martin Ueding Sep 30 '14 at 16:23
2

https://lists.gnu.org/archive/html/help-bash/2014-03/msg00018.html

Readline does not use `more', or any other external program; it uses its own internal pager. There is no user-configurable hook to change that.

Looks like you're out of luck.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.