mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 03:11:15 +02:00
35293: fix zstyle lookup with _php: use trailing colon
This commit is contained in:
parent
6925e2b298
commit
0c8d21adc2
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
||||||
* 35286: Completion/Unix/Command/_baz, Completion/Unix/Command/_tla:
|
* 35286: Completion/Unix/Command/_baz, Completion/Unix/Command/_tla:
|
||||||
fix zstyle lookups with _baz and _tla.
|
fix zstyle lookups with _baz and _tla.
|
||||||
|
|
||||||
|
* 35293: Completion/Unix/Command/_php: fix zstyle lookup with
|
||||||
|
_php: use trailing colon.
|
||||||
|
|
||||||
2015-05-27 Peter Stephenson <p.stephenson@samsung.com>
|
2015-05-27 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* Han Pingtian: 35299: Functions/Zftp/zfdir: improve effect of
|
* Han Pingtian: 35299: Functions/Zftp/zfdir: improve effect of
|
||||||
|
|
|
@ -9,7 +9,7 @@ typeset -A opt_args
|
||||||
local -a args
|
local -a args
|
||||||
local exclusions php_suffix
|
local exclusions php_suffix
|
||||||
|
|
||||||
zstyle -s ":completion:$curcontext" suffixes php_suffix '|' || php_suffix='php|phar'
|
zstyle -s ":completion:${curcontext}:" suffixes php_suffix '|' || php_suffix='php|phar'
|
||||||
local php_files=":PHP file:_files -g '*.($php_suffix)(-.)'"
|
local php_files=":PHP file:_files -g '*.($php_suffix)(-.)'"
|
||||||
|
|
||||||
if _pick_variant php5=PHP\ 5 php4 --version; then
|
if _pick_variant php5=PHP\ 5 php4 --version; then
|
||||||
|
|
Loading…
Reference in a new issue