This is the mail archive of the cygwin 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]

Problem with aliases in bash as login shell


When bash is started with the "-l" (that's an 'L') flag, aliases that
I've defined in .bashrc don't take effect. My .bash_profile includes a
call to .bashrc, and I know that .bashrc is being executed because
I've put an echo at the beginning and end of it, and both messages are
printed out. Even if I execute .bashrc manually, it will print out the
messages, but I get no aliases. I can, however, manually enter
aliases, and they work. I can also copy/paste the aliases from .bashrc
to the command line, and then they work.

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


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