This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Aliases no longer defined?


On Mon, Mar 31, 2003 at 08:19:28PM -0500, Peter Davis wrote:
> On Mon, 31 Mar 2003 18:15:13 -0500
> Rolf Campbell <rcampbell at tropicnetworks dot com> wrote:
> 
> > Peter Davis wrote:
> > > I recently switched from Windows NT4 and Windows 2000 to Windows XP.  I
> > > installed cygwin freshly on both systems.  Now I'm noticing that on both
> > > systems, .bashrc seems to be completely ignored.  I haven't changed this
> > > file at all, but suddenly the aliases I define and export are not
> > > defined when I try to type them at the shell prompt.
> > > 
> > > If I do
> > > 
> > > 	source ~/.bashrc
> > > 
> > > it works without error, but the aliases are *still* not defined.  I
> > > noticed by running 'cygcheck -s' that the new systems seem to have DLL
> > > build 1.3.22 (3/18/2003), while the older ones were running build 1.3.20
> > > (2/18/2003).  However, nothing else has changed.  This used to work, but
> > > now doesn't.
> > > 
> > > Any clues?
> > > 
> > > Thanks,
> > > 
> > > -pd
> > 
> > What does your /etc/passwd look like?
> 
> 
> It's got a bunch of entries: SYSTEM, Administrators, Administrator, Guest, pdavis, etc.
> 
> What should I be looking for?

Are you sure that your HOME directory is where you think it is?
In order of priority it is set from
- HOME from the Windows environment 
- /etc/passwd (that's probably why you were asked)
- HOMEDRIVE/HOMEPATH
- /

Pierre


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]