0
使用bash我也喜歡做這樣的事情:製作的zsh完成更多的bash類似的/最好的zsh完成實踐
$ l
file15165
file23132
file31351
xyzfile
$ $CMD f<TAB>
(f gets completed to "file", I type "*", [23] or whatever)
$ $CMD file*<Enter>
這樣,我相信該命令對所有我想要的文件執行至。
當我試着使用zsh來做到這一點,出現這種情況:
$ l
file15165
file23132
file31351
xyzfile
$ $CMD f<TAB>
(f is completed to "file15165", I have to press <backspace> five times and then type "*")
$ $CMD file*<Enter>
這是相當無效的。現在我怎樣才能使用zsh實現bash行爲?或者zsh用戶如何嘗試去做我正在做的事情?