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
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_
* 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
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!
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
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
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
>
>
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
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
* 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.
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
: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 "
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
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
14 matches
Mail list logo