diff --git a/install.sh b/install.sh index d9ca261..a9c121a 100755 --- a/install.sh +++ b/install.sh @@ -45,10 +45,13 @@ case $answer in ./clone.sh - echo ":: Preparing to Install HyprPM Plugins..." - sleep 5 - ~/script/hyprpm.sh + #echo ":: Preparing to Install HyprPM Plugins..." + #sleep 5 + #~/script/hyprpm.sh + echo ":: Preparing to Restore ZSH" + ~/script/zsh.sh + echo ":: Preparing to Install Grub Theme" ~/script/grub.sh diff --git a/zsh.sh b/zsh.sh new file mode 100755 index 0000000..5136b18 --- /dev/null +++ b/zsh.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +SOURCE_DIR=~/hyprcrux/src/ + + +echo "Installing Zsh, Oh-My-Zsh, and Powerlevel10k..." +sudo pacman -S --noconfirm zsh +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended +git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting +git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions + + +cp $SOURCE_DIR/.zshrc ~/ + +cp $SOURCE_DIR/.p10k.zsh ~/ + +chsh -s $(which zsh)