mirror of git://git.code.sf.net/p/zsh/code
27430: extend make variable value completion
This commit is contained in:
parent
85842387f8
commit
d81fb9f1a8
|
@ -1,5 +1,8 @@
|
|||
2009-11-24 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 27430: Completion/Unix/Command/_make: extend variable value
|
||||
completion to anything that looks like an assignment.
|
||||
|
||||
* 27429: Completion/Unix/Command/_make: restore variable value
|
||||
completion. Also make indentation more standard (not posted).
|
||||
|
||||
|
@ -12390,5 +12393,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4822 $
|
||||
* $Revision: 1.4823 $
|
||||
*****************************************************
|
||||
|
|
|
@ -197,7 +197,7 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ $PREFIX == (#b)([^=]##)'='* ]] && [[ -n ${${(k)VARIABLES}[(r)${match[1]}]} ]]
|
||||
if [[ $PREFIX == *'='* ]]
|
||||
then
|
||||
# Complete make variable as if shell variable
|
||||
compstate[parameter]="${PREFIX%%\=*}"
|
||||
|
|
Loading…
Reference in New Issue