Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002b01c2bd62$3c994ec0$78d96f83@POMELLO> From: "Max Bowsher" To: , References: <13016 DOT 1042722817 AT www63 DOT gmx DOT net> Subject: Re: How can I abbreviate /cygdrive/DRIVELETTER ? Date: Thu, 16 Jan 2003 13:21:53 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 svartsjel AT gmx DOT net wrote: > Hi everyone! > > As I often access different drives from within the bash I'm wondering > if there's a quicker way to get on, say, drive l (a network drive) > than entering 'cd /cygdrive/l'? > I alias'd '/cygdrive/l' to 'l' which works fine for cd, but not for > commands like chmod, cp, mv etc. Among others I'd like to use the > automatic command line completion which doesn't work for > /cygdrive/... either. Make a real directory /cygdrive. Command completion will then work. Or, ln -s /cygdrive/c /c Or, ln -s /cygdrive /drv (Yes, I know you *can* change the cygdrive prefix itself, but you never know when you will run into some script that tries to use it.) Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/