mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 12:11:26 +01:00
_arguments fix for configure, unconfirmed
This commit is contained in:
parent
5177458d40
commit
4dc114f160
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-06-18 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 20033: Completion/Base/Utility/_arguments: unconfirmed fix
|
||||
for configure output parsing with square brackets.
|
||||
|
||||
2004-06-17 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 20069: Completion/Unix/Command/_iconv: complete character
|
||||
|
|
|
@ -67,9 +67,9 @@ if (( long )); then
|
|||
# those hyphens and anything from the space or tab after the
|
||||
# option up to the end.
|
||||
|
||||
lopts=("--${(@)^${(@)${(@)${(@M)${(@ps:\n:j:\n:)${(@)${(@M)${(@f)$(_call_program options ${~words[1]} --help 2>&1)//\[--/
|
||||
lopts=("--${(@)${(@)^${(@)${(@)${(@M)${(@ps:\n:j:\n:)${(@)${(@M)${(@f)$(_call_program options ${~words[1]} --help 2>&1)//\[--/
|
||||
--}:#[ ]#-*}//,/
|
||||
}}:#[ ]#--*}#*--}%%[] ]*}:#}")
|
||||
}}:#[ ]#--*}#*--}%%[] ]*}:#}//\[=/=}")
|
||||
|
||||
# Remove options also described by user-defined specs.
|
||||
|
||||
|
|
Loading…
Reference in a new issue