One of the fondest wishes of myself, and a number of devopers I know,
is to be able to tab complete subversion URLs. I started to implement
this in a ruby script, after being inspired by an autocompletion
script for rake, when I came across the whole bash_completion thing.
I haven't written more than 20 lines of shell script before, so I'm
more looking for advice, than proposing this as ready to include.
Down the road I'd like to add hostname completion from the auth
folder, ala the ssh @hostname style - but that will require parsing
how how that is handled, so definitely a future stage. Right now I
just have this completing if it's http://a-path-ending-in-a-slash/, as
a first step. Thoughts?
My first problem is how I get it to return the nice non-prepending
paths with multiple matchs, as it does now, but not kill my whole path
when there is only one. After that I'm guessing the next step would be
to do partial completions based on mapping against the ls results from
the parent folder? Any advice on how to proceed with those in bash?
Philosophical objects to the whole idea? other?
Tim Connor
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 23 03:07:11 2007