开发者

zsh completion inside quoted strings

Is it possible to configure zsh to suggest filenames (or anythin开发者_如何转开发g else) inside of a quoted string?

I've seen this thread on bash: Bash TAB-completion inside double-quoted string But I'm not sure whether that solution is compatible between shells.


No problem for tab completion inside quotes.

$ touch "spaces in a filename"
$ ls
spaces in a filename
$ ls sp[TAB]
gives ->
$ ls spaces\ in\ a\ filename

$ ls "sp[TAB]
gives ->
$ ls "spaces in a filename"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜