summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_php
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_php')
-rw-r--r--Completion/Unix/Command/_php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_php b/Completion/Unix/Command/_php
index 4edcd1e57..d03f3395e 100644
--- a/Completion/Unix/Command/_php
+++ b/Completion/Unix/Command/_php
@@ -43,14 +43,14 @@ args+=(
'(-)*::script argument: _normal'
)
-_arguments -C -s -S -A "-*" "$args[@]" && return 0
+_arguments -C -s -S "$args[@]" && return 0
case $state in
directive)
local -a directives suf
local code='foreach (ini_get_all() as $k => $v) { echo "$k\n"; }'
directives=( $(_call_program directives $words[1] -r ${(q)code} 2>/dev/null) )
- if compset -P '*='; then
+ if compset -P 1 '*='; then
_default && return 0
else
compset -S '=*' || suf=( -qS '=' )