diff options
| author | Peter Stephenson <p.stephenson@samsung.com> | 2018-12-04 16:57:05 +0000 |
|---|---|---|
| committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-12-04 16:57:05 +0000 |
| commit | 7f62255b493dfc75dc34a185f6f10a3cc846ba79 (patch) | |
| tree | 6154225a5b03c26041bbaee7cf8ba2b18ce27a40 /Completion/Unix | |
| parent | 43854: Set tok to LEXERR on generic parse error. (diff) | |
| download | zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.tar zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.tar.gz zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.tar.bz2 zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.tar.lz zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.tar.xz zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.tar.zst zsh-7f62255b493dfc75dc34a185f6f10a3cc846ba79.zip | |
43860: Complete glob flags at start of word.
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_files | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_files b/Completion/Unix/Type/_files index 2b0c5580a..d44ac31a1 100644 --- a/Completion/Unix/Type/_files +++ b/Completion/Unix/Type/_files @@ -17,6 +17,10 @@ if _have_glob_qual $PREFIX; then _globquals && ret=0 fi return ret +elif [[ $_comp_caller_options[extendedglob] == on ]] && compset -P '\(\#'; then + # Globbing flags can start at beginning of word, even though + # glob qualifiers can't. + _globflags && return fi local opts tmp glob pat pats expl tag i def descr end ign tried |
