summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-05-25 17:20:13 +0200
committerDaniel Hahler <git@thequod.de>2015-05-27 19:39:17 +0200
commit0c8d21adc20e79cdf006838bc7ca1761e6ec8544 (patch)
tree6c4eadccf284714226f5d67ce6fe5b9ef1e70850 /Completion/Unix/Command
parent6925e2b298ea02c1b8fb50f116167761cd0bd153 (diff)
downloadzsh-0c8d21adc20e79cdf006838bc7ca1761e6ec8544.tar.gz
zsh-0c8d21adc20e79cdf006838bc7ca1761e6ec8544.tar.xz
zsh-0c8d21adc20e79cdf006838bc7ca1761e6ec8544.zip
35293: fix zstyle lookup with _php: use trailing colon
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_php b/Completion/Unix/Command/_php
index 5d7b84e28..4edcd1e57 100644
--- a/Completion/Unix/Command/_php
+++ b/Completion/Unix/Command/_php
@@ -9,7 +9,7 @@ typeset -A opt_args
 local -a args
 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)(-.)'"
 
 if _pick_variant php5=PHP\ 5 php4 --version; then