| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | zzapper <david AT tvis DOT co DOT uk> |
| Subject: | Re: cd to directory in paste buffer : shell function |
| Date: | Fri, 13 Jan 2006 18:15:30 +0000 |
| Lines: | 15 |
| Message-ID: | <rerfs1dc4bfo1mjv0dnq3oe85rc7aq7soe@4ax.com> |
| References: | <rfqfs1pkamechtg6btjim15bkrt2l6miq5 AT 4ax DOT com> |
| Mime-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
Hi
simplified
function cdp()
{
# cdp(aste)
# description : Cd to path in paste buffer: convert from DOS if required
cd $(getclip|sed 's#\\#\/#g')
}
--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/
--
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 |