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:
Daniel Ceregatti 2025-07-30 13:57:02 -06:00
parent 143a5cf059
commit 0db8acaa65

View file

@ -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 ]