diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-06 10:46:31 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-06 10:46:31 +0000 |
| commit | f2040baa9b457973da012405af7f600c72be85a7 (patch) | |
| tree | 10ed20ce0ce794c8b6fdeec414a75090790bac1c | |
| parent | 15265: Src/parse.c: correction problems with new `for' syntax (diff) | |
| download | zsh-f2040baa9b457973da012405af7f600c72be85a7.tar zsh-f2040baa9b457973da012405af7f600c72be85a7.tar.gz zsh-f2040baa9b457973da012405af7f600c72be85a7.tar.bz2 zsh-f2040baa9b457973da012405af7f600c72be85a7.tar.lz zsh-f2040baa9b457973da012405af7f600c72be85a7.tar.xz zsh-f2040baa9b457973da012405af7f600c72be85a7.tar.zst zsh-f2040baa9b457973da012405af7f600c72be85a7.zip | |
(15283)
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Completion/Unix/Type/_path_files | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2001-07-06 Sven Wischnowsky <wischnow@zsh.org> + + * 15283: Completion/Unix/Type/_path_files: when looking for + parameter expansions, ignore `$'s with a backslash before them + 2001-07-06 Peter Stephenson <pws@csr.com> * 15277: Src/glob.c: *real* bug with ${(S)...%%...}: the indices diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index c7eaf2df2..9cf7e2d9e 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -190,7 +190,7 @@ eorig="$orig" # Now let's have a closer look at the string to complete. -if [[ "$pre" = [^][*?#^\|\<\>]#(\`[^\`]#\`|\$)*/* && "$compstate[quote]" != \' ]]; then +if [[ "$pre" = [^][*?#^\|\<\>\\]#(\`[^\`]#\`|\$)*/* && "$compstate[quote]" != \' ]]; then # If there is a parameter expansion in the word from the line, we try # to complete the beast by expanding the prefix and completing anything |
