* PATCH: _subversion and PATH
@ 2003-07-20 16:12 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2003-07-20 16:12 UTC (permalink / raw)
To: zsh-workers; +Cc: 202185-forwarded, vincent
VL> A "svn add [TAB]" currently completes on directories only (unless
VL> there is no match, in which case it completes on files).
VL> By default, it should complete on both directories and files that
VL> haven't been added yet (like the completion for "cvs add").
Partially addressed by patch below.
VL> A "svn log [TAB]" currently completes on URLs. It should complete
VL> on URLs, directories and files that have already been added to the
VL> repository.
The files part is broken, and still there's no effort to check what's in
the repository.
VL> Some other completions for subcommands should be improved too.
Yes.
Index: Completion/Unix/Command/_subversion
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_subversion,v
retrieving revision 1.1
diff -u -r1.1 _subversion
--- Completion/Unix/Command/_subversion 7 Jul 2003 03:23:15 -0000 1.1
+++ Completion/Unix/Command/_subversion 20 Jul 2003 15:55:56 -0000
@@ -49,7 +49,7 @@
)
[[ "$_svn_subcmd_usage" == *URL* ]] && _svn_subcmds=($_svn_subcmds ":url:_urls")
- [[ "$_svn_subcmd_usage" == *PATH* ]] && _svn_subcmds=($_svn_subcmds "*:path:_files -/")
+ [[ "$_svn_subcmd_usage" == *PATH* ]] && _svn_subcmds=($_svn_subcmds "*:path:_files")
_arguments \
"$_svn_subcmds[@]" && ret=0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-20 16:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 16:12 PATCH: _subversion and PATH Clint Adams
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).