Browse Source

updates www user shell prompt with colours

master
Jean-Christophe Vanhalle 1 year ago
parent
commit
e61b00b184
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      www.sh

+ 2
- 2
www.sh View File

set +a set +a


docker exec \ docker exec \
-e SHELLOPTS=vi \
-e HISTFILE=/var/www/html/.bash_history \ -e HISTFILE=/var/www/html/.bash_history \
-e SHELLOPTS=vi \
-it --user www-data \ -it --user www-data \
"${PREFIX}-app" \ "${PREFIX}-app" \
/bin/bash
/bin/bash -c '\nwww-data@${HOSTNAME} \[\033[01;35m\]\w\[\033[00m\]\n$ '

Loading…
Cancel
Save