How do I get zsh tab completion to “vi **/foo<TAB>” to match and complete the first file matching “foo*” anywhere under the current directory?
How do I get zsh tab completion to cat **/foo<TAB> to match and complete the first file matching foo* in any subdirectory under the current directory? For example, do this while inside a fresh ...
I have noticed sometimes that tab completion is helpfully filtered in bash. I am a java programmer and often use the java and javac commands in the terminal for quick or remote tasks. Say I have the ...
I use setopt menu_complete so that I can hit TAB repeatedly to get different filename completions in zsh. However, I would also like to be able to type: ls ~/*.txt<TAB> and then use TAB to ...
I understand that if you type ls * it is actually expanded to ls a b c when the current directly has files a, b and c. I was wondering if there is a way to expand this before I hit enter. Similar to ...