diff --git a/zsh_install.sh b/zsh_install.sh index 70133b2..8f4b8b0 100644 --- a/zsh_install.sh +++ b/zsh_install.sh @@ -1,5 +1,11 @@ #!/bin/bash +if [ -f /etc/rocky-release ]; then + sudo dnf install zsh git curl +elif [ -f /etc/arch-release ]; then + sudo pacman -S zsh git curl +fi + sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" sed -i 's/ZSH_THEME=.*/ZSH_THEME="bureau"/' ~/.zshrc