Feat: Fügt source profile zu zprofile hinzu.
This commit is contained in:
parent
31cab37f43
commit
1da82f3c9c
@ -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!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user