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?


> From: Peter Davis
> 
> What should it be?  I explicitly set HOME to be C:\home in Windows,
> for the benefit of emacs, etc.  I've done this for years, so it seems
> to be unrelated to the current problem.  In fact, I just checked, and
> the results of these commands are the same on my old Win2000 machine,
> where .bashrc worked.

Hi,

You don't actually need to explicitly set HOME anymore, cygwin's
come on over the years ;)

Somebody (pardon - I've deleted the mail) correctly said, you need
to add a . ~/.bashrc (or use source rather than .) to your ~/.bash_profile

Cygwin doesn't run ~/.bashrc by default - as the bash manual recommends.
It's on the 'todo' list to create a skeleton ~/.bash_profile, but I've
not got round to making it work correctly, sorry.

Oh, and alias in ~/.bash_profile doesn't (I believe) work, don't know
why.

You can still set your HOME, there's nothing (that I know of!) wrong
with doing so.

J.

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