14 lines
625 B
Text
14 lines
625 B
Text
|
#!/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
|