From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19054 invoked from network); 21 Jul 2003 22:52:53 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Jul 2003 22:52:53 -0000 Received: (qmail 16741 invoked by alias); 21 Jul 2003 22:52:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18883 Received: (qmail 16732 invoked from network); 21 Jul 2003 22:52:49 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 21 Jul 2003 22:52:49 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.254.112.142] by sunsite.dk (MessageWall 1.0.8) with SMTP; 21 Jul 2003 22:52:49 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id A27367001E; Mon, 21 Jul 2003 18:52:48 -0400 (EDT) Date: Mon, 21 Jul 2003 18:52:48 -0400 From: Clint Adams To: Sebastien Cevey Cc: dev@subversion.tigris.org, zsh-workers@sunsite.dk, Adam Heath Subject: Re: subversion and programmable completion Message-ID: <20030721225248.GB7569@acolyte.scowler.net> Mail-Followup-To: Clint Adams , Sebastien Cevey , dev@subversion.tigris.org, zsh-workers@sunsite.dk, Adam Heath References: <20030720162723.GA26506@acolyte.scowler.net> <20030721183359.GA11160@cine7.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030721183359.GA11160@cine7.net> User-Agent: Mutt/1.5.4i > The bash completion does not use the content of 'svn help' > AFAIK. (we're talking about the script in tools/client-side/ right?). The only bash completion for subversion that I've seen is /etc/bash_completion.d/subversion in the Debian subversion package, which I assume is that to which you refer. The zsh function was written without hardcoding any subcommands or options. > I had not thought of using svn help output to feed the completion > though, that sounds quite a neat idea. Are you willing to work on it > (you seemed to use zsh rather than bash though) ? Or do you know > existing examples of such bash scripts that could be a basis for an > svn one ? I seem to recall Adam Heath doing some work on emulating zsh completion functions in bash. Perhaps he could encapsulate the zsh functions somehow.