mirror of
https://github.com/xsghetti/script.git
synced 2025-01-23 01:26:08 -05:00
restore zsh
This commit is contained in:
parent
50e07a1cf4
commit
b68c376b1e
2 changed files with 24 additions and 3 deletions
|
@ -45,9 +45,12 @@ case $answer in
|
||||||
./clone.sh
|
./clone.sh
|
||||||
|
|
||||||
|
|
||||||
echo ":: Preparing to Install HyprPM Plugins..."
|
#echo ":: Preparing to Install HyprPM Plugins..."
|
||||||
sleep 5
|
#sleep 5
|
||||||
~/script/hyprpm.sh
|
#~/script/hyprpm.sh
|
||||||
|
|
||||||
|
echo ":: Preparing to Restore ZSH"
|
||||||
|
~/script/zsh.sh
|
||||||
|
|
||||||
echo ":: Preparing to Install Grub Theme"
|
echo ":: Preparing to Install Grub Theme"
|
||||||
~/script/grub.sh
|
~/script/grub.sh
|
||||||
|
|
18
zsh.sh
Executable file
18
zsh.sh
Executable file
|
@ -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)
|
Loading…
Reference in a new issue