>> There is another strange things: When I start bash (by >clicking on the >icon >> on my Windows desktop), by $HOME/.bashrc is not executed (but when I >invoke >> a subshell, .bashrc is sourced). Further, my >$HOME/.bash_profile is not >> sourced. Should I post this >> as separate bug on the mailing list? > >How are you invoking `bash'? If you want your shell to be a >login shell you >have to pass the '--login' option to `bash'.
OK, I resolved this one: After the re-install, my .bash_profile is executed; and since a click to the cygwin icon executes /cygwin.bat, which in turn does a cygwin --login it explains why .bashrc is not executed. Ronald -- 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/