Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

zsh: do you wish to see all 923 possibilities (462 lines)?

Yes please, but in a file or less.

share|improve this question
    
How would you get feedback from it? If it just put all of the possibilities in less, you'd have to read through it, exit, then retype your suggestion. –  machinaut Dec 15 '11 at 22:09
    
Yes, that at least would be better than not being able to read some suggestions at all because they are outside of the terminal buffer or whatever. –  H.B. Dec 15 '11 at 22:11
add comment

1 Answer

up vote 1 down vote accepted

zsh can do this internally. Put this into your .zshrc:

zstyle ':completion:*' list-prompt   ''
zstyle ':completion:*' select-prompt ''

before

autoload -Uz compinit
compinit

(add the latter lines if not already present)

See the zsh documentation for details.

share|improve this answer
    
Thanks, makes sense that zsh can already do this... –  H.B. Jan 26 '12 at 22:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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