Subject: [PATCH] _php: remove _arguments's -A, which interferes with _normal
From: Eric Cook <[email-masked]>
To: [email-masked]
Date: Sun, 14 Feb 2016 18:28:48 -0500
List-Id: Zsh Workers List <zsh-workers.zsh.org>

reported on IRC by a user with a completer for a php script but also
desires ''php script -<tab>'' to use his completer.

''
php ls -<tab> # => Completing no more arguments
''

post patch, you should see ls' options.
---
 Completion/Unix/Command/_php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_php b/Completion/Unix/Command/_php
index 4edcd1e..0e84003 100644
--- a/Completion/Unix/Command/_php
+++ b/Completion/Unix/Command/_php
@@ -43,7 +43,7 @@ args+=(
   '(-)*::script argument: _normal'
 )
 
-_arguments -C -s -S -A "-*" "$args[@]" && return 0
+_arguments -C -s -S "$args[@]" && return 0
 
 case $state in
   directive)
-- 
2.6.2