Gentoo Archives: gentoo-user

From: Mart Raudsepp <leio@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:37:45
Message-Id: 1497119853.24558.0.camel@gentoo.org
In Reply to: [gentoo-user] Why is PS1 (the console prompt) different for the root user? by Nikos Chantziaras
1 Ühel kenal päeval, L, 10.06.2017 kell 09:12, kirjutas Nikos
2 Chantziaras:
3 > I noticed that the root prompt does not include the full path of the 
4 > current directory. Normal user:
5 >
6 >    me@gentoopc ~ $ cd /usr/bin
7 >    me@gentoopc /usr/bin $
8 >
9 > However, for root:
10 >
11 >    gentoopc ~ # cd /usr/bin
12 >    gentoopc bin #
13
14 https://gitweb.gentoo.org/repo/gentoo.git/commit/app-shells/bash?id=15336782891de2b

Replies