Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _php: remove _arguments's -A, which interferes with _normal
- X-seq: zsh-workers 37975
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _php: remove _arguments's -A, which interferes with _normal
- Date: Sun, 14 Feb 2016 18:28:48 -0500
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author