public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* startxwin started bash does not read .bashrc or .bash_profile
@ 2013-02-27  0:08 Kevin Layer
  2013-02-27  2:32 ` Arthur Tu
  2013-02-27 17:55 ` Jon TURNEY
  0 siblings, 2 replies; 26+ messages in thread
From: Kevin Layer @ 2013-02-27  0:08 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: startxwin started bash does not read .bashrc or .bash_profile
@ 2013-02-27 22:45 Kevin Layer
  0 siblings, 0 replies; 26+ messages in thread
From: Kevin Layer @ 2013-02-27 22:45 UTC (permalink / raw)
  To: cygwin

Btw, this happens on my home and work systems.  Both Windows 7
Ultimate x64.

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2013-03-01 17:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-27  0:08 startxwin started bash does not read .bashrc or .bash_profile Kevin Layer
2013-02-27  2:32 ` Arthur Tu
2013-02-27  3:21   ` Kevin Layer
2013-02-27 15:37     ` Robert Pendell
2013-02-27 15:44       ` Eliot Moss
2013-02-27 15:50       ` Kevin Layer
2013-02-27 16:08     ` Eliot Moss
2013-02-27 16:20       ` Kevin Layer
2013-02-27 17:11         ` K Stahl
2013-02-27 18:07           ` Kevin Layer
2013-02-27 22:19           ` Kevin Layer
2013-02-27 23:14           ` Kevin Layer
2013-02-27 17:55 ` Jon TURNEY
2013-02-27 17:59   ` Kevin Layer
2013-02-27 19:50     ` Andrey Repin
2013-02-27 20:09       ` Christopher Faylor
2013-02-27 20:15       ` Kevin Layer
2013-02-27 21:17         ` Earnie Boyd
2013-02-27 22:16           ` Kevin Layer
2013-02-28 13:24             ` Earnie Boyd
2013-02-28 14:28               ` Kevin Layer
2013-03-01 14:11                 ` Earnie Boyd
2013-03-01 15:49                   ` Kevin Layer
2013-03-01 16:13                     ` Chris J. Breisch
2013-03-01 17:35                       ` Andrey Repin
2013-02-27 22:45 Kevin Layer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).