www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <002b01c2bd62$3c994ec0$78d96f83@POMELLO> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <svartsjel AT gmx DOT net>, <cygwin AT cygwin DOT com> |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |