dot

packages and services management
Log | Files | Refs | README

commit 07b3bb593cfd6ce39689bf63c9ee5bfffa271872
parent 2aa5980530c8f0cf7d0f993213fd1a392a2279c3
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sat, 12 Aug 2017 20:35:21 +0200

shell/profile: different promp for root

Diffstat:
Mshell/profile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shell/profile b/shell/profile @@ -1,6 +1,7 @@ PS1='$( [ $? = 0 ] && printf "\033[32;1m" || printf "\033[31;1m" -)'"'$(printf '\033[m\n\342\224\201\342\224\201\342\224\201') " + [ "$(whoami)" = root ] && printf \" || printf \'\'' +)'$(printf '\033[m\n\342\224\201\342\224\201\342\224\201 ') PS2=' : ' PS3=' : '