Feat: Fügt source profile zu zprofile hinzu.

This commit is contained in:
DragonSlayer_14 2025-02-24 14:56:24 +01:00
parent 31cab37f43
commit 1da82f3c9c

View File

@ -51,4 +51,12 @@ fi
# Repository löschen
rm -rf "$REPO_DIR"
# /etc/profile in /etc/zsh/zprofile einfügen, falls nicht bereits vorhanden
if ! grep -q "source /etc/profile" /etc/zsh/zprofile; then
echo "source /etc/profile" >> /etc/zsh/zprofile
echo "🔧 'source /etc/profile' wurde in /etc/zsh/zprofile hinzugefügt."
else
echo " 'source /etc/profile' ist bereits in /etc/zsh/zprofile vorhanden."
fi
echo "✅ Installation abgeschlossen!"