This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cd to directory in paste buffer : shell function
- From: zzapper <david at tvis dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Fri, 13 Jan 2006 18:15:30 +0000
- Subject: Re: cd to directory in paste buffer : shell function
- References: <rfqfs1pkamechtg6btjim15bkrt2l6miq5@4ax.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/