Tyleo-Scripts/irp-ozh

14 lines
625 B
Text
Raw Normal View History

2024-02-18 18:06:30 +00:00
#!/usr/bin/env bash
curl https://static.tyleodev.fr/astra/banner-all
echo Complément Oh-My-ZSH - Git est nécessaire.
echo Faire exit quand oh my zsh est lancé pour terminer.
echo ----------------------------------------------------
echo Lancement en User level. Sudo sera demandé en 2eme.
echo UID : $UID / $USER
if [[ $UID = 0 ]]; then
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
else
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi