dotfiles/install.sh

22 lines
681 B
Bash
Executable File

#!/bin/bash
sudo apt install zsh wget curl stow
cd "$(dirname "$0")"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/agkozak/zsh-z ~/.oh-my-zsh/custom/plugins/zsh-z
./solve-stow.sh bin
./solve-stow.sh zsh
chsh -s $(which zsh)
echo "Do you wish to install lazygit?"
select yn in "Yes" "No"; do
case $yn in
Yes ) ./install.lazygit.sh; break;;
No ) exit;;
esac
done