workflow/initialization/partials/zsh.sh

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 ------"