mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
48432 and enable test: fix quotiing of zstyle -L for zstyle -e
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2021-04-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 48432 (plus test change): Src/Modules/zutil.c,
|
||||
Test/V05styles.ztst: Fix quoting of zstyle -L output for
|
||||
-e styles, and enable test.
|
||||
|
||||
2021-04-09 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 48378: Completion/Zsh/Command/_compadd: complete compadd
|
||||
|
||||
@@ -200,7 +200,8 @@ printstylenode(HashNode hn, int printflags)
|
||||
else {
|
||||
printf("zstyle %s", (p->eval ? "-e " : ""));
|
||||
quotedzputs(p->pat, stdout);
|
||||
printf(" %s", s->node.nam);
|
||||
putchar(' ');
|
||||
quotedzputs(s->node.nam, stdout);
|
||||
}
|
||||
for (v = p->vals; *v; v++) {
|
||||
putchar(' ');
|
||||
|
||||
@@ -171,5 +171,5 @@
|
||||
a=( ${(M)a:#*con*text*ke*y*val*u*e} )
|
||||
print -r -- "$a"
|
||||
)
|
||||
-f:zstyle -L escapes the key (regression: workers/48424)
|
||||
0:zstyle -L escapes the key (regression: workers/48424)
|
||||
>zstyle $'con\C-@text' $'ke\C-@y' $'val\C-@u' e
|
||||
|
||||
Reference in New Issue
Block a user