| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Sat, 01 Sep 2007 14:20:39 -0700 |
| From: | David Rothenberger <daveroth AT acm DOT org> |
| Subject: | Re: Install bash completion and svn completion on it |
| In-reply-to: | <12442764.post@talk.nabble.com> |
| To: | cygwin AT cygwin DOT com |
| Message-id: | <46D9D7A7.40602@acm.org> |
| MIME-version: | 1.0 |
| References: | <12442764 DOT post AT talk DOT nabble DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 9/1/2007 11:35 AM, Ach wrote:
> I tried to install bash completion for subversion but was not successful.
> I use cygwin 2.510
Where did you get 2.510 as the version? The latest version is 1.5.24-2.
> and my bash version is 3.00.16.
The latest version is 3.2.25-16.
> I executed the "bash_completion_svn.sh" script but after that when I
> try to use <TAB> for completion nothing happens.
Where did the bash_completion_svn.sh script come from?
> I do not know if cygwin bash is enable to do completion by default (not for
> svn only).
You have to install the bash-completion package and then follow the
directions at the top of
/usr/share/doc/Cygwin/bash-completion-20060301.README.
> Is there anybody who did this before and can give me precious hopefully
> step-by-step way to do this?
After you've updated bash, installed bash-completion, and edited your
.bashrc and .bash_profile as directed, just copy the bash_completion
file from svn.collab.net corresponding to your subversion release to
/etc/bash_completion.d/svn and make the file executable. The current
Cygwin subversion release is 1.4.3, so the following worked for me:
% wget -O /etc/bash_completion.d/svn \
'http://svn.collab.net/viewvc/*checkout*/svn/tags/1.4.3/tools/client-side/bash_completion?revision=23198'
% chmod 755 /etc/bash_completion.d/svn
Then, restart bash.
--
David Rothenberger ---- daveroth AT acm DOT org
Sushido, n.:
The way of the tuna.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |