Re: bash shell prompt

1998-09-04 Thread E.L. Meijer \(Eric\)
[...] > .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

Re: bash shell prompt

1998-09-03 Thread Marlon Urias
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 >

Re: bash shell prompt

1998-09-03 Thread David Warnock
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

Re: bash shell prompt

1998-09-03 Thread Nathan E Norman
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

Re: bash shell prompt

1998-09-03 Thread Julian Gilbey
> 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

Re: bash shell prompt

1998-09-03 Thread M.C. Vernon
> 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

bash shell prompt

1998-09-03 Thread David Warnock
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