9

I'm a long-time tcsh user that finally decided to try out zsh. I've been toying around with completion, but one thing I don't like is that when I hit tab for a completion that might have a lot of values, it prints the completion options below the prompt, pushing the prompt up off the bottom of the terminal. TCSH would leave the old prompt, print the completions on new lines below, and then reprint the prompt and the command that you had typed so far.

Is there any way to change the completion logic so that completion options are printed above the prompt?

  • Hmmm, yes, I vaguely remember having thought the same thought in 1993 or so. I can attest to the fact that you get used to the Bash behavior, but out of curiosity, I'd like to see a solution, too. – tripleee Jun 15 '13 at 5:33
6

unsetopt ALWAYS_LAST_PROMPT will give you the effect but may affect certain menu completion settings.

  • That seems to be exactly what I was looking for. Thanks! – antiduh Jun 17 '13 at 13:57

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.