This website works better with JavaScript.
Home
Explore
Help
Sign In
jc.vanhalle
/
wp-docker-setup
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
updates www user shell prompt with colours
master
Jean-Christophe Vanhalle
1 year ago
parent
22a6286487
commit
e61b00b184
1 changed files
with
2 additions
and
2 deletions
Split View
Show Diff Stats
2
2
www.sh
+ 2
- 2
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$ '
Write
Preview
Loading…
Cancel
Save