From 1fbbeeead9ba1e24e18b375763641b69089760f6 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 17 Feb 2016 00:14:06 +0100 Subject: [PATCH] A better root prompt --- modules/debian-org/files/root-dotfiles/profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/debian-org/files/root-dotfiles/profile b/modules/debian-org/files/root-dotfiles/profile index d22315ef1..e4bb8dbd7 100644 --- a/modules/debian-org/files/root-dotfiles/profile +++ b/modules/debian-org/files/root-dotfiles/profile @@ -7,6 +7,9 @@ if [ "$BASH" ]; then if [ -f ~/.bashrc ]; then . ~/.bashrc fi + if [ "$PS1" ]; then + PS1='${debian_chroot:+[$debian_chroot] }\h:\w\$ ' + fi fi mesg n -- 2.20.1