Gentoo Archives: gentoo-user

From: "Toralf Förster" <toralf@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user?
Date: Sat, 10 Jun 2017 18:43:56
Message-Id: d93298a5-8053-dae6-6b7b-58b92a19c6ad@gentoo.org
In Reply to: Re: [gentoo-user] Why is PS1 (the console prompt) different for the root user? by Mart Raudsepp
1 On 06/10/2017 08:37 PM, Mart Raudsepp wrote:
2 > Ühel kenal päeval, L, 10.06.2017 kell 09:12, kirjutas Nikos
3 > Chantziaras:
4 >> I noticed that the root prompt does not include the full path of the
5 >> current directory. Normal user:
6 >>
7 >> me@gentoopc ~ $ cd /usr/bin
8 >> me@gentoopc /usr/bin $
9 >>
10 >> However, for root:
11 >>
12 >> gentoopc ~ # cd /usr/bin
13 >> gentoopc bin #
14 > https://gitweb.gentoo.org/repo/gentoo.git/commit/app-shells/bash?id=15336782891de2b
15 >
16 Doesn't the 2nd now have the same statement in the if and else branch ?
17
18 --
19 Toralf
20 PGP 23217DA7 9B888F45

Attachments

File name MIME type
signature.asc application/pgp-signature