Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Dale
Nikos Chantziaras wrote: > I noticed that the root prompt does not include the full path of the > current directory. Normal user: > > me@gentoopc ~ $ cd /usr/bin > me@gentoopc /usr/bin $ > > However, for root: > > gentoopc ~ # cd /usr/bin > gentoopc bin # > > So for users, I can see where I

Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Toralf Förster
On 06/10/2017 08:37 PM, Mart Raudsepp wrote: > Ühel kenal päeval, L, 10.06.2017 kell 09:12, kirjutas Nikos > Chantziaras: >> I noticed that the root prompt does not include the full path of the >> current directory. Normal user: >> >>me@gentoopc ~ $ cd /usr/bin >>me@gentoopc /usr/bin $ >>

Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Mart Raudsepp
Ühel kenal päeval, L, 10.06.2017 kell 09:12, kirjutas Nikos Chantziaras: > I noticed that the root prompt does not include the full path of the  > current directory. Normal user: > >    me@gentoopc ~ $ cd /usr/bin >    me@gentoopc /usr/bin $ > > However, for root: > >    gentoopc ~ # cd /usr/bin

Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Alan McKinnon
On 10/06/2017 08:12, Nikos Chantziaras wrote: > I noticed that the root prompt does not include the full path of the > current directory. Normal user: > > me@gentoopc ~ $ cd /usr/bin > me@gentoopc /usr/bin $ > > However, for root: > > gentoopc ~ # cd /usr/bin > gentoopc bin # > > So for

Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Toralf Förster
On 06/10/2017 08:12 AM, Nikos Chantziaras wrote: > > Is there a rationale for this? > Yes, please look into /etc/bash/bashrc (near to the end) ;) -- Toralf PGP 23217DA7 9B888F45 signature.asc Description: OpenPGP digital signature

Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Thanasis
On 06/10/2017 09:12 AM, Nikos Chantziaras wrote: > I noticed that the root prompt does not include the full path of the > current directory. I think this gets defined in /etc/profile

[gentoo-user] Why is PS1 (the console prompt) different for the root user?

2017-06-09 Thread Nikos Chantziaras
I noticed that the root prompt does not include the full path of the current directory. Normal user: me@gentoopc ~ $ cd /usr/bin me@gentoopc /usr/bin $ However, for root: gentoopc ~ # cd /usr/bin gentoopc bin # So for users, I can see where I am ("/usr/bin"). For root, I cannot. It j