workflow/initialization/partials/zsh.sh
2023-08-17 10:14:21 +02:00

12 lines
317 B
Bash

#!/bin/bash
echo " ------ install oh my zsh ------"
if ! -d ~/.oh-my-zsh; then
echo "installer oh my zsh"
cd
sudo apt install zsh
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
else
echo " ------ déjà installé ------"
omz update
fi
echo " ------ fait ------"