#!/bin/bash TARGET_DIR="~/" # Vim installieren, wenn es noch nicht installiert ist command -v vim >/dev/null 2>&1 || sudo apt update && sudo apt install -y vim # Vim-Konfiguration kopieren if [ -d "~/.Vim" ]; then echo "Ordner existiert bereits" else cp -r "./.Vim" $TARGET_DIR fi if [ -f "~/.vimrc" ]; then echo "Vim Konfigurationsdatei existiert bereits" else cp "./vimrc" $TARGET_DIR fi