mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
48432 and enable test: fix quotiing of zstyle -L for zstyle -e
This commit is contained in:
parent
eaff11c748
commit
283d2f3c27
3 changed files with 9 additions and 2 deletions
|
|
@ -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>
|
2021-04-09 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
* 48378: Completion/Zsh/Command/_compadd: complete compadd
|
* 48378: Completion/Zsh/Command/_compadd: complete compadd
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,8 @@ printstylenode(HashNode hn, int printflags)
|
||||||
else {
|
else {
|
||||||
printf("zstyle %s", (p->eval ? "-e " : ""));
|
printf("zstyle %s", (p->eval ? "-e " : ""));
|
||||||
quotedzputs(p->pat, stdout);
|
quotedzputs(p->pat, stdout);
|
||||||
printf(" %s", s->node.nam);
|
putchar(' ');
|
||||||
|
quotedzputs(s->node.nam, stdout);
|
||||||
}
|
}
|
||||||
for (v = p->vals; *v; v++) {
|
for (v = p->vals; *v; v++) {
|
||||||
putchar(' ');
|
putchar(' ');
|
||||||
|
|
|
||||||
|
|
@ -171,5 +171,5 @@
|
||||||
a=( ${(M)a:#*con*text*ke*y*val*u*e} )
|
a=( ${(M)a:#*con*text*ke*y*val*u*e} )
|
||||||
print -r -- "$a"
|
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
|
>zstyle $'con\C-@text' $'ke\C-@y' $'val\C-@u' e
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue