summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_php
diff options
context:
space:
mode:
authordana <dana@dana.is>2026-06-29 19:50:58 -0500
committerdana <dana@dana.is>2026-06-29 19:53:47 -0500
commitd1020e63e13f85c7c0f57d43143c28cf759c20c9 (patch)
tree0294307cec258fa78c16c28fd95078d5eb800080 /Completion/Unix/Command/_php
parentunposted: _numbers: fix compadd -q spec (diff)
downloadzsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.gz
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.bz2
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.lz
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.xz
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.zst
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.zip
54863 + others: completion: compadd -q -> -r
-q was not appropriate because a parameter name with no assignment makes no sense in this context. use -r instead also address some previous cases like this that i was responsible for
Diffstat (limited to 'Completion/Unix/Command/_php')
-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 9a8f519b1..3ed3e2705 100644
--- a/Completion/Unix/Command/_php
+++ b/Completion/Unix/Command/_php
@@ -155,7 +155,7 @@ _php() {
if compset -P 1 '*='; then
_default && ret=0
else
- compset -S '=*' || suf=( -qS '=' )
+ compset -S '=*' || suf=( -r= -S= )
_wanted directives expl 'INI directive' \
compadd "$suf[@]" -a directives && ret=0
fi