How to make zsh completion like bash
I am using zsh. It is a nice shell, especially for the auto completion function. But, when I press tab, it always auto fill with the first completion option. For example, there are two files in my folder.
Mydata.txt
YourData.txt
If I type vim, a blank, then press tab, it will auto fill with Mydata.txt instead of just list them and wait for my input. I do not like to keep on pressing tab to choose the files. It is more easier to press some letters.
I have tried to revise .zshrc and set
unsetopt MENU_COMPLETE
But, it doesn't work.
Could anyone give me some hints?
I am using zsh. It is a nice shell, especially for the auto completion function. But, when I press tab, it always auto fill with the first completion option. For example, there are two files in my folder.
Mydata.txt
YourData.txt
If I type vim, a blank, then press tab, it will auto fill with Mydata.txt instead of just list them and wait for my input. I do not like to keep on pressing tab to choose the files. It is more easier to press some letters.
I have tried to revise .zshrc and set
unsetopt MENU_COMPLETE
But, it doesn't work.
Could anyone give me some hints?
No comments:
Post a Comment