1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

22852: users style effect changed in 22191

22853: unquoted ^ at end of bindkey string treated literally
This commit is contained in:
Peter Stephenson 2006-10-10 09:37:19 +00:00
parent a003c09aff
commit d4d6cb5494
3 changed files with 13 additions and 4 deletions

@ -1,3 +1,11 @@
2006-10-10 Peter Stephenson <pws@csr.com>
* 22853: Src/utils.c: unquoted ^ at end of bindkey string
treated literally.
* 22852: Doc/Zsh/compsys.yo: finally document effect of 22191
(users style overrides use of userdirs).
2006-10-07 Clint Adams <clint@zsh.org>
* 22835: Completion/Unix/Command/_pon: tidy up pon bit

@ -2603,9 +2603,10 @@ extended depending on authorial frustration.
kindex(users, completion style)
item(tt(users))(
This may be set to a list of usernames to be completed.
If it is not set or the string on the line
doesn't match any of the strings in this list, all usernames will be
completed.
If it is not set all usernames will be completed.
Note that if it is set only that list of users will be completed;
this is because on some systems querying all users can take
a prohibitive amount of time.
)
kindex(users-hosts, completion style)
item(tt(users-hosts))(

@ -4744,7 +4744,7 @@ getkeystring(char *s, int *len, int how, int *misc)
} else if ((how & GETKEY_DOLLAR_QUOTE) && *s == Snull) {
for (u = t; (*u++ = *s++););
return t + 1;
} else if (*s == '^' && !control && (how & GETKEY_CTRL)) {
} else if (*s == '^' && !control && (how & GETKEY_CTRL) && s[1]) {
control = 1;
continue;
#ifdef MULTIBYTE_SUPPORT