This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running a command on cygwin launch


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]