X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="US-ASCII"
Subject: RE: Directory Aliasing
Date: Sat, 14 Jul 2007 20:45:27 +0200
Message-ID: <7FE216529E1FE248A760B58F6B82A81002094E9B@EMMA.personal.adp.ltu.se>
In-Reply-To: <11596212.post@talk.nabble.com>
References: <11596212.post@talk.nabble.com>
From: "Bengt-Arne Fjellner" <bengt-arne.fjellner@ltu.se>
To: "LittleTim" <timeapen@hotmail.com>, <cygwin@cygwin.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l6EIjckn022300




--
tel 0920 49 1894
Bengt-Arne Fjellner 
  

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of LittleTim
> Sent: den 14 juli 2007 20:34
> To: cygwin@cygwin.com
> Subject: Directory Aliasing
> 
> 
> Hello Everybody:
> 
> I don't have a lot of experience using Cygwin:
> 
> Problem:  I do a lot of work in a directory with a long path 
> name: C:\very
> long path name\My Work
> 
> Question:  Instead of having to type cd  C:\very long path 
> name\My Work
> everytime I want to switch to this directory, is there any way to do
> aliasing?  For example, no matter where I am in the file 
> system, typing cd ~
> will take me to my home directory.  I've tried to create a 
> symbolic link. 
> Of course the symbolic link is only valid in the directory where the
> symbolic link exists, and not from anywhere in the file system.
> 
> tim
> -- 

alias golong='cd "/cygdrive/c/very long path name/My Work"'
In your ~/.bashrc   should fix it
 

--
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/


