Update 'debian-setup.sh'

This commit is contained in:
Newnius 2022-07-06 14:22:53 +00:00
parent 449af6f43a
commit bb66d5a20b

View File

@ -41,6 +41,12 @@ apt update
echo "[INFO] Installing necessary tools" echo "[INFO] Installing necessary tools"
apt install -y curl vim git sudo ca-certificates apt-transport-https haveged tree apt install -y curl vim git sudo ca-certificates apt-transport-https haveged tree
# Vim no mouse select
touch ~/.vimrc # make sure file exists
sed -i '/set mouse-=a /d' ~/.vimrc
sed -i '/set mouse=a /d' ~/.vimrc
echo "set mouse-=a" >> ~/.vimrc
# install ssh service # install ssh service
if ! hash sshd 2>/dev/null; then if ! hash sshd 2>/dev/null; then
echo "[INFO] Installing ssh service" echo "[INFO] Installing ssh service"