Re: .bashrc file not run

2010-02-12 Thread Cyrille Lefevre
Thorsten Kampe a écrit : * John Morrison (Fri, 12 Feb 2010 09:17:15 -) Thanks for that clarification; should I change the base-files? Or create ~/.profile as a copy/link? to ~/.bash_profile? There is no need for a ~/.profile. Only keep ~/.bash_profile IMHO, .bash_profile is a piece of

Re: .bashrc file not run

2010-02-12 Thread John Morrison
On Fri, February 12, 2010 3:42 pm, Thorsten Kampe wrote: > * John Morrison (Fri, 12 Feb 2010 09:17:15 -) >> >> Thanks for that clarification; should I change the base-files? Or >> create >> ~/.profile as a copy/link? to ~/.bash_profile? > > There is no need for a ~/.profile. Only keep ~/.bash_

Re: .bashrc file not run

2010-02-12 Thread Thorsten Kampe
* John Morrison (Fri, 12 Feb 2010 09:17:15 -) > > Thanks for that clarification; should I change the base-files? Or create > ~/.profile as a copy/link? to ~/.bash_profile? There is no need for a ~/.profile. Only keep ~/.bash_profile Thorsten -- Problem reports: http://cygwin.com/pro

Re: .bashrc file not run

2010-02-12 Thread Neil Blue
t: Re: .bashrc file not run On Fri, February 12, 2010 9:51 am, Neil Blue wrote: > I created the ~/.profile in response to the email from Csaba Raduly. the > bash man page does say it will look for ~/.profile as well. It does, but you can't expect default behaviour from a non default file!

Re: .bashrc file not run

2010-02-12 Thread John Morrison
On Fri, February 12, 2010 9:51 am, Neil Blue wrote: > I created the ~/.profile in response to the email from Csaba Raduly. the > bash man page does say it will look for ~/.profile as well. It does, but you can't expect default behaviour from a non default file! ;) > The setup program creates some

Re: .bashrc file not run

2010-02-12 Thread Neil Blue
34:15 AM Subject: Re: .bashrc file not run On Fri, February 12, 2010 9:17 am, Neil Blue wrote: > The ~/.bashrc file wasn't called by default and altering ~/.profile did > fix the problem. Hi Neil, Where did you get the ~/.profile from? It's not a base-file file... > The comme

Re: .bashrc file not run

2010-02-12 Thread John Morrison
nce has been changed and why... Thanks, J. > Neil > > > - Original Message > From: John Morrison > To: cygwin@cygwin.com > Sent: Fri, February 12, 2010 8:26:24 AM > Subject: Re: .bashrc file not run > > ~/.bash_profile should already be setup to call ~/.bashrc > >

Re: .bashrc file not run

2010-02-12 Thread Neil Blue
uot; fi ... I still need to start bash without --login however as any settings such as PATH that are configured in ~/.bashrc are lost, but it does run the ~/.bashrc file. Neil - Original Message From: John Morrison To: cygwin@cygwin.com Sent: Fri, February 12, 2010 8:26:24 AM Subject: R

Re: .bashrc file not run

2010-02-12 Thread John Morrison
On Fri, February 12, 2010 8:53 am, Thorsten Kampe wrote: > * John Morrison (Fri, 12 Feb 2010 08:26:24 -) >> >> ~/.bash_profile should already be setup to call ~/.bashrc >> >> it should have been in the base-files package which creates the >> /etc/skel >> files which should be copied when the us

Re: .bashrc file not run

2010-02-12 Thread Thorsten Kampe
* John Morrison (Fri, 12 Feb 2010 08:26:24 -) > > ~/.bash_profile should already be setup to call ~/.bashrc > > it should have been in the base-files package which creates the /etc/skel > files which should be copied when the user first log's on. > > AFAIK bash doesn't use a ~/.profile file.

Re: .bashrc file not run

2010-02-12 Thread John Morrison
eady set-up for me. > > Thanks again for the help. > > Cheers > Neil > > > > ----- Original Message ---- > From: Csaba Raduly > To: cygwin@cygwin.com > Sent: Thu, February 11, 2010 3:30:15 PM > Subject: Re: .bashrc file not run > > On Thu, Feb 11, 20

Re: .bashrc file not run

2010-02-11 Thread Neil Blue
:30:15 PM Subject: Re: .bashrc file not run On Thu, Feb 11, 2010 at 4:06 PM, Thomas Wolff wrote: > On 11.02.2010 15:55, Neil Blue wrote: > > By design (and documentation), bash runs *only* .profile (and /etc/profile) > if started as a "login shell". Not quite. >From "

Re: .bashrc file not run

2010-02-11 Thread Csaba Raduly
On Thu, Feb 11, 2010 at 4:06 PM, Thomas Wolff wrote: > On 11.02.2010 15:55, Neil Blue wrote: > > By design (and documentation), bash runs *only* .profile (and /etc/profile) > if started as a "login shell". Not quite. >From "info bash" , Node: Bash Startup Files When Bash is invoked as an interac

Re: .bashrc file not run

2010-02-11 Thread Thomas Wolff
On 11.02.2010 15:55, Neil Blue wrote: Hello, This problem has me stumped. Me too, a while ago. ... When I login, the environment settings I put in .bashrc don't get run. If I source ~/.bashrc they are included as expected. Also I have added some configuration to /etc/bash.bashrc it does