[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] URL completion in bash_completion

From: Kylo Ginsberg <kylo.ginsberg_at_gmail.com>
Date: 2007-04-13 03:28:47 CEST

I saw a thread a few weeks back which included a patch for URL
completion. I took that patch and ran a little farther with it,
adding:
* works for http or svn URLs
* add completion for partial elements
* if available, uses the COMP_WORDBREAKS feature in bash for cleaner results

This patch is not submission-ready (at least) because it shares flaws
pointed out in the previous patch:
* uses sed
* doesn't try to handle authentication

I'm posting it here in the hope that more expert bash scripters might
take this yet farther. Even in its current state, this has been
enthusiastically adopted by local users who were struggling with long
URLs, so perhaps this will be of use to others.

Cheers,
Kylo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Apr 13 22:24:51 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.