This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cd to directory in paste buffer : shell function
- From: "Brett Serkez" <techie at serkez dot net>
- To: "zzapper" <david at tvis dot co dot uk>, cygwin at cygwin dot com
- Date: Fri, 13 Jan 2006 13:21:02 -0500
- Subject: Re: cd to directory in paste buffer : shell function
- References: <rfqfs1pkamechtg6btjim15bkrt2l6miq5@4ax.com>
> I often want to cd to a (DOS) path that I've copied from some
> Windows App.
>
> The following function (put in one of your startup files .bashrc
> .profile etc) saves a few clicks and is forward or backslash proof
[snip]
Without deminishing the value of this procedure, I simply wanted to say
there is another alternative.
Assuming that the cygwin chere package is installed, open Explorer and
paste the path into the address bar and click on go. Once the directory
appears under folders, right click on it and select 'Bash Here'.
This doesn't address all the possibilities of the original method, it is
however quick to utilize with minimal setup.
Brett
----------------------------------------------------------------
Brett C. Serkez, Techie
--
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/