script/zsh.sh

19 lines
637 B
Bash
Raw Normal View History

2024-08-04 13:57:23 -04:00
#!/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
2024-08-04 14:29:06 -04:00
cp -r ~/hyprcrux/src/Powerlevel10k ~/.oh-my-zsh/custom/themes/
2024-08-04 13:57:23 -04:00
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)