mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-08-09 08:33:35 +00:00
Remove the conditional adding of the contents of the .bashrc file and change the TERM variable to allow for the use of home and end keys in the web container.
This commit is contained in:
parent
143a5cf059
commit
0db8acaa65
1 changed files with 2 additions and 5 deletions
|
@ -1,15 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Set PS1 so we know we're in the container
|
||||
if ! echo .bashrc | grep -q "dz-web"
|
||||
then
|
||||
echo "Adding PS1 to .bashrc..."
|
||||
cat > .bashrc <<EOF
|
||||
alias ls='ls --color'
|
||||
export PS1="${debian_chroot:+($debian_chroot)}\u@dz-web:\w\$ "
|
||||
export TERM=screen.xterm-256color
|
||||
unset DEVELOPMENT
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Shut steamcmd up
|
||||
if ! [ -d ${HOME}/.steam ]
|
||||
|
|
Loading…
Add table
Reference in a new issue