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://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 |
Message-ID: | <0B9EBBE7CA79D7118FD00002B3B2B9B910656D0B@nm75ex51.das.honeywell.com> |
From: | "Baksik, Frederick (NM75)" <frederick DOT baksik AT honeywell DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | RE: RE[2]: How does one set aliases for Cygwin for XP Prof Window s? - Still doesn't work! |
Date: | Fri, 22 Jul 2005 18:52:32 -0700 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
> -----Original Message----- > From: cygwin-owner Behalf Of Patrick Sullivan > Sent: Friday, July 22, 2005 7:19 PM > To: cygwin > Subject: RE[2]: How does one set aliases for Cygwin for XP > Prof Windows? - Still doesn't work! > Importance: Low > > Ken, > > It still doesn't work after putting the aliases in ~/.bashrc )-: > I also tried putting them in ~/profile.ksh but it didn't work either. > I did this one time, and there was a file in a certain > location where I added them to, but I don't remember where it was... > > I tried putting them in as follows: > > alias ll='ls -l' > alias h='history' > alias main='cd /cygdrive/c/depot/source/main' > alias ob2='cd /cygdrive/c/depot/Projects/ob2' > alias depot='cd /cygdrive/c/depot' ~/.bashrc is only sourced by bash on non-login interactive shells ~/.bash_profile is only source by bash on login interactive shells If you have your aliases in ~/.bashrc you need to add the following line to ~/.bash_profile Source ~/.bashrc Further examples can be taken from the files located in /etc/skel. Also look at the man bash page under INVOCATION. -- Frodak -- 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 |