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]

startxwin started bash does not read .bashrc or .bash_profile


If I put this into .startxwinrc:

  mintty /usr/bin/bash.exe --login -i

the resulting shell does not read .bash_profile.  If I put 

  mintty /usr/bin/bash.exe -i

it doesn't read .bashrc.


I've been beating my head against this wall for hours, over a few
days.  I've googled my ass off, but I can't find anyone that's having
the same problem.


My ultimate goal is to use ssh-agent/ssh-add to make life easier, but
it requires my .bashrc to be sourced (.bash_profile merely sources
.bashrc).


Thanks.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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