开发者

zsh completion inside quoted strings

开发者 https://www.devze.com 2023-04-03 22:03 出处:网络
Is it possible to configure zsh to suggest filenames (or anythin开发者_如何转开发g else) inside of a quoted string?

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

精彩评论

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

关注公众号