diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-11 11:21:12 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-11 11:21:12 +0000 |
| commit | 71157907ad90e252f2bb4842832f5d353f7f50c2 (patch) | |
| tree | 931b9bc9771ca6aa1384c86d78f92de71f4ca624 /Completion/Core/_files | |
| parent | make _oldlist ignore old list when _complete_help is used (10648) (diff) | |
| download | zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.tar zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.tar.gz zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.tar.bz2 zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.tar.lz zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.tar.xz zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.tar.zst zsh-71157907ad90e252f2bb4842832f5d353f7f50c2.zip | |
make trailing blanks in file-patterns tags be removed (10650)
Diffstat (limited to 'Completion/Core/_files')
| -rw-r--r-- | Completion/Core/_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_files b/Completion/Core/_files index a64e5c093..fad833d76 100644 --- a/Completion/Core/_files +++ b/Completion/Core/_files @@ -47,7 +47,7 @@ fi for def in "$pats[@]"; do def="${def##[[:blank:]]#}" while [[ "$def" = *[^\\][[:blank:]]* ]]; do - sdef="${(M)def#*[^\\][[:blank:]]}" + sdef="${${(M)def#*[^\\][[:blank:]]}%%[[:blank:]]#}" tag="${${sdef#*[^\\]:}%%:*}" pat="${${${sdef%%:${tag}*}//\\\\:/:}//,/ }" |
