This is the mail archive of the
mailing list for the Cygwin project.
Re: /etc/bash_completion & svn/svk completion
-----BEGIN PGP SIGNED MESSAGE-----
According to Jared Silva on 1/29/2007 1:14 PM:
> The command "svn update DIR<TAB>" results in "svn update DIR " instead
> of "svn update DIR/". The same goes for svk. The space being added
> instead of a slash is annoying. Does anyone know what causes this and
> how to fix it?
This would be an upstream bug; I'm cc'ing the upstream maintainer to see
if we can get a response.
You can also try debugging it yourself. At the command line, turn on the
options 'set -xv', then when you hit TAB, you will see what bash is trying
to do during the tab completion. I don't personally use svn, so I'm not
the best candidate to help you fix the _svn() helper function used when
tab-completing svn, but compgen is loaded with options to try to help
decipher when to use directories with or without a trailing slash.
Don't work too hard, make some time for fun as well!
Eric Blake firstname.lastname@example.org
volunteer cygwin bash_completion maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html