From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Cc: 202185-forwarded@bugs.debian.org, vincent@vinc17.org
Subject: PATCH: _subversion and PATH
Date: Sun, 20 Jul 2003 12:12:59 -0400 [thread overview]
Message-ID: <20030720161259.GA26326@acolyte.scowler.net> (raw)
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
reply other threads:[~2003-07-20 16:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030720161259.GA26326@acolyte.scowler.net \
--to=clint@zsh.org \
--cc=202185-forwarded@bugs.debian.org \
--cc=vincent@vinc17.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).