delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/16/08:55:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: how to find where alias's are defined
Date: Mon, 15 Dec 2008 02:53:18 +0100
Lines: 16
Message-ID: <gi4dbi$gdk$1@ger.gmane.org>
References: <21006365 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.71.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

* ScKaSx (Sun, 14 Dec 2008 16:04:23 -0800 (PST))> 
> 
> I want to know the location of alias's in cygwin.  I made afew awhile ago
> and now can not determine where they are located.  When I type 'alias' I can
> see the ones I made but it doesn't tell me a location.

The easiest thing would be to simply search the whole Cygwin folder for 
a file with a content of your alias. The smartest thing would be to 
identify which shell you are using, read the FILES section of the man 
page and then to look into these files. If you use bash that would be 
/etc/profile, ~./bashrc and ~/.bash_profile.

Where ever you did put your aliases - if you didn't put them in 
~/.bashrc then you put them into the wrong place.

Thorsten


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019