Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: svn completion under Cygwin



On Mon, 15 Sep 2008 18:33:25 +0200
Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx> wrote:
>  My Cygwin zsh 4.3.2 doesn't complete any file names for "svn ci" (and
> other svn subcommands) and the problem persists even when using the latest
> completion file version from
> 
> http://zsh.cvs.sourceforge.net/*checkout*/zsh/zsh/Completion/Unix/Command/_subversion?revision=1.25
> 
> I couldn't really understand where exactly does the problem come from to be
> honest but, as this works under Unix I was almost sure that it was due to
> either "\r\n" line terminators or backslashes instead of slashes in the
> output of Win32 svn version. It turned out to be the latter and so the
> following trivial patch makes the completion work as expected:

I think if you open a file the right way in Cygwin it will do this kind of
substitution for you.  We had a related discussion not so long ago.
However, I don't have the time to investigate Cygwin further to find out
how this should work.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author