diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-05-16 13:41:50 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-05-16 13:41:50 +0000 |
commit | 184ea22946af7632c232e12a6b93b067d7c4c62b (patch) | |
tree | 38585a135b426399d7339d7aed0ad165c30c27b9 | |
parent | d658d3e2bb1cdde7a58b244fac67a539f4c1cbad (diff) | |
download | zsh-184ea22946af7632c232e12a6b93b067d7c4c62b.tar.gz zsh-184ea22946af7632c232e12a6b93b067d7c4c62b.tar.xz zsh-184ea22946af7632c232e12a6b93b067d7c4c62b.zip |
11410: make tokenize() tokenize =, so $~foo allows =cmd expansion
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Src/glob.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index aef560ddd..85d3f8165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-05-16 Peter Stephenson <pws@cambridgesiliconradio.com> + + * 11410: Src/glob.c: tokenize `=' in tokenize(), so that `=cmd' + will be a candidate for expansion if `~user' is (respecting + any relevant options). + 2000-05-16 Sven Wischnowsky <wischnow@zsh.org> * 11408: Completion/Core/_main_complete, Completion/Core/_normal, diff --git a/Src/glob.c b/Src/glob.c index 3b57aa8f4..3e8740fd9 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -2395,6 +2395,7 @@ tokenize(char *s) case ']': case '*': case '?': + case '=': for (t = ztokens; *t; t++) if (*t == *s) { if (bslash) |