Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread Mark Geisert
chengxianle writes: > Yes, .bash_profile was loaded when run bash as `bash --login'. > But still, won't load when run as `sh' or `sh --login'. Look a little further back and you'll find Dave's informative answer to your original query. ..mark -- Problem reports: http://cygwin.com/problems

Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread Andy Koppe
2009/7/12 chengxianle: > Yes, .bash_profile was loaded when run bash as `bash --login'. > But still, won't load when run as `sh' or `sh --login'. Read Dave Korn's reply again. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentati

Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread chengxia...@gmail.com
Hi, Tatsuro Thanks for your help. Yes, .bash_profile was loaded when run bash as `bash --login'. But still, won't load when run as `sh' or `sh --login'. Jason 2009/7/12 Tatsuro MATSUOKA : > Hello > > Please make the file > > .bash_profile > > and describe > > source .bashrc > > in it > > Regards

Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread Tatsuro MATSUOKA
Sorry I have misled stories. Please ignore me. --- Tatsuro MATSUOKA wrote: > Hello > > Please make the file > > .bash_profile > > and describe > > source .bashrc > > in it > > Regards > > Tatsuro > --- "chengxia...@gmail.com" wrote: > > > bash.exe loads my .bashrc in $HOME director

Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread Tatsuro MATSUOKA
Hello Please make the file .bash_profile and describe source .bashrc in it Regards Tatsuro --- "chengxia...@gmail.com" wrote: > bash.exe loads my .bashrc in $HOME directory. > But when i copy bash.exe as sh.exe, .bashrc won't be loaded. > Rename as anything(like sh1.exe, sh2.exe, ...) ex

Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread Dave Korn
chengxianle wrote: > bash.exe loads my .bashrc in $HOME directory. > But when i copy bash.exe as sh.exe, .bashrc won't be loaded. > Rename as anything(like sh1.exe, sh2.exe, ...) except `sh.exe' works fine! By design. Invoking bash as 'sh' enters special sh-compatibility mode. See "info bash

[1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread chengxia...@gmail.com
bash.exe loads my .bashrc in $HOME directory. But when i copy bash.exe as sh.exe, .bashrc won't be loaded. Rename as anything(like sh1.exe, sh2.exe, ...) except `sh.exe' works fine! Jason cygcheck.out Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ: