Running a command on cygwin launch

Andrew DeFaria Andrew@DeFaria.com
Wed Oct 25 15:36:00 GMT 2006


Ben LeBar wrote:
> Disregard my previous email - I figured out that i needed 
> .bash_profile in my home directory instead of .bashrc
Actually you typed .batchrc not .bashrc, which would explain it. 
.bash_profile get's executed when you "login" whereas .bashrc get's 
executed when you start bash. So, for example, you can start bash and 
.bash_profile will execute as will .bashrc. Then you can start another 
bash which will run only .bashrc.

-- 

Andrew DeFaria <http://defaria.com>
Ask not for whom the bell tolls. Let the machine get it.


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



More information about the Cygwin mailing list