From e61b00b1847c8ae57c8ba8ce13784148e75c5c32 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Vanhalle Date: Tue, 22 Oct 2024 20:03:28 +0200 Subject: [PATCH] updates www user shell prompt with colours --- www.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www.sh b/www.sh index 090ca4c..a342d3f 100755 --- a/www.sh +++ b/www.sh @@ -6,8 +6,8 @@ set -a set +a docker exec \ - -e SHELLOPTS=vi \ -e HISTFILE=/var/www/html/.bash_history \ + -e SHELLOPTS=vi \ -it --user www-data \ "${PREFIX}-app" \ - /bin/bash + /bin/bash -c '\nwww-data@${HOSTNAME} \[\033[01;35m\]\w\[\033[00m\]\n$ '