* [PATCH] _php: remove _arguments's -A, which interferes with _normal
@ 2016-02-14 23:28 Eric Cook
0 siblings, 0 replies; only message in thread
From: Eric Cook @ 2016-02-14 23:28 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-14 23:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-14 23:28 [PATCH] _php: remove _arguments's -A, which interferes with _normal Eric Cook
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).