do not reprint options + prompt
When doing tab-completion within bash (eg cd dir_ <TAB>
), subsequent hits of Tab cause the list of matching options to be re-printed, once per hit of the Tab key (picture below). Each new line is me hitting Tab once, and the options (and prompt) re-printed.
Now, in zsh for example, this behavior is disabled. In the picture below, I have typed cd dir_
and then hit tab REPEATEDLY. As desired, the prompt and the available completion options do not re-print, but just stay as-is, below the current prompt.
Is this at all possible with bash? The screen filling up with all the options when repeatedly hitting Tab is quite annoying.
链接地址: http://www.djcxy.com/p/74038.html上一篇: 使用Firebase按名称获取用户
下一篇: 不要转载选项+提示