Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to make the terminal behave like screen when it comes to tab completion? In screen, when you press tab, it gives the possible completions just below, but doesn't display the prompt again, instead, continues in the same prompt.

share|improve this question
This is not the behavior of screen that I observe. – January Oct 16 '12 at 4:56
@January This is the behavior is observe - when I type "Do" tab, it shows me the options "Downloads" and "Documents" and remains at the same prompt, unlike the usual terminal, which shows the options, and goes to the next prompt. – asymptotically Oct 17 '12 at 22:30
up vote 1 down vote accepted

This is shell specific behavior. The system to which you are logging in with ssh gives you zsh as your default shell, whereas in Ubuntu, the default shell is bash. Try it! Open a terminal and type zsh. The first time you run it, it will ask you for a configuration option. Then, presto, you have your desired behavior.

To make it permanently your login shell, open a terminal and type

chsh -s /bin/zsh

Next time you log in, zsh will be your default shell.

share|improve this answer
Awesome! Thanks you for that, I thought it was specific to screen/ – asymptotically Oct 18 '12 at 2:45

Your Answer


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.