mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-20 06:56:05 +02:00
43860: Complete glob flags at start of word.
This commit is contained in:
parent
ef20425381
commit
7f62255b49
|
@ -1,3 +1,8 @@
|
|||
2018-12-04 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 43860: Completion/Unix/Type/_files: complete globbing flags at
|
||||
start of word.
|
||||
|
||||
2018-11-29 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 43854: Src/lex.c: set tok to LEXERR on generic parser error so
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue