On Wed, Sep 9, 2009 at 1:31 PM, Gary Johnson wrote: > C:\cygwin\bin\rxvt.exe -e /bin/bash --login -c "cd /usr/local/src; exec > bash -i"
A good solution, but it won't work if you do anything in .bash_profile that's not inherited by child shell processes (aliases, shell functions, etc), since .bash_profile won't be executed by the bash -i. Of course, it's not good practice to do such things in .bash_profile; better to put them in .bashrc (and have .bash_profile source .bashrc so they happen in login shells, too)... but something to watch out for. -- Mark J. Reed <markjr...@gmail.com> -- 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