updates www user shell prompt with colours

This commit is contained in:
Jean-Christophe Vanhalle
2024-10-22 20:03:28 +02:00
parent 22a6286487
commit e61b00b184

4
www.sh
View File

@@ -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$ '