From: Peter Palfrader Date: Tue, 16 Feb 2016 23:14:06 +0000 (+0100) Subject: A better root prompt X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1fbbeeead9ba1e24e18b375763641b69089760f6;p=mirror%2Fdsa-puppet.git A better root prompt --- 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