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
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
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
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
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
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
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:
7 matches
Mail list logo