From b99bddc3598d56e3010cc642d5b023d84b592def Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Tue, 30 Aug 2022 11:26:44 +0100 Subject: [PATCH] tidying up --- zsh_install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh_install.sh b/zsh_install.sh index 92e8e26..8d9bb1e 100644 --- a/zsh_install.sh +++ b/zsh_install.sh @@ -1,18 +1,23 @@ #!/bin/bash +echo Installing Dependencies 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 +echo Installing Oh My ZSH sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +echo Switching Theme sed -i 's/ZSH_THEME=.*/ZSH_THEME="bureau"/' ~/.zshrc +echo Enabling Plugins sed -i 's/plugins=(git)/plugins=(\ngit\nzsh-autosuggestions\n)/' ~/.zshrc +echo Installing AutoSuggestions zsh -c "git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions" - +echo Running Zsh zsh