[...]
> .bashrc only gets read for subshells. .bash_profile always get read no
> matter what. You can also source .bashrc from .bash_profile and you can
> forget about order. -marlon
Not true. The file ~/.bash_profile is sourced only in interactive _login_
shells. If you rea
On Thu, 3 Sep 1998, M.C. Vernon wrote:
>
> > My guess was that the .bashrc in my home directory needed the
> > same PS1 environment as the .bashrc in the root directory so I
> > added
> >
> > export PS1='\h:\w\$ '
> >
> > but this does not solve the problem UNLESS I login as myself and
>
To everyone who has replied to my question.
Thanks I have my prompt as I want it, I also now understand some of the
bash man information.
I also just wanted to check that my new netscape 4.06 is working.
Dave
On Thu, 3 Sep 1998, Julian Gilbey wrote:
: > Hi,
: >
: > On Hamm, if I login as root or while logged in as myself do a "su"
: > then my shell prompt shows the host and current directory.
: >
: > When I am logged in as myself my prompt is just a $
: >
: > I much prefer to see the curren
> Hi,
>
> On Hamm, if I login as root or while logged in as myself do a "su"
> then my shell prompt shows the host and current directory.
>
> When I am logged in as myself my prompt is just a $
>
> I much prefer to see the current directory in my prompt. So how do
> I change it?
>
> My guess
> My guess was that the .bashrc in my home directory needed the
> same PS1 environment as the .bashrc in the root directory so I
> added
>
> export PS1='\h:\w\$ '
>
> but this does not solve the problem UNLESS I login as myself and
> then type
>
> bash
>
> at which point the prompt change
Hi,
On Hamm, if I login as root or while logged in as myself do a "su"
then my shell prompt shows the host and current directory.
When I am logged in as myself my prompt is just a $
I much prefer to see the current directory in my prompt. So how do
I change it?
My guess was that the .bashrc i
7 matches
Mail list logo