Does bash partial/substring file completion similar to what zsh does? That is, instead of requiring the user开发者_运维百科 to enter a prefix of the filename, then tab; the user can also enter a subs
I used for years in openSuSE the: #compdef w _files -W ~/work -/ function to auto-complete the directory names in my ~/work dir.
How do you set up the Z shell such that typing cd -gives you a l开发者_Python百科ist of previously visited paths, and cd -1, -2, -3, etc. will then take you to the directories?If you have setopt AUTO_
Sometimes I want a filename instead of what zsh guesses for me. For example, I have a PNG file without a proper .png suffix, which开发者_StackOverflow社区 makes zsh think it isn\'t a picture and won\'
I have a problem with the zsh tab completion: After running: autoload -U compinit compinit Git tab 开发者_JAVA百科completion for files does not work any more. For example if I type git add my_f to