fix: install zsh before oh-my-zsh

This commit is contained in:
Julien Oculi 2024-06-05 17:48:51 +02:00
parent 675e44081d
commit 4fe08982cd

View file

@ -7,8 +7,8 @@ if [[ $(which eza) != "/usr/bin/eza" ]]; then
chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
fi fi
# Check if Oh-My-ZSH already installed
which omz &> /dev/null || sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install or upgrade zsh and eza # Install or upgrade zsh and eza
nala install -y zsh eza nala install -y zsh eza
# Check if Oh-My-ZSH already installed
which omz &> /dev/null || sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"