Update install script to work with fish

This commit is contained in:
Tim
2025-05-26 20:00:11 +02:00
parent 8c0a67f515
commit 63ef2181ca
2 changed files with 9 additions and 23 deletions

View File

@ -1,24 +1,18 @@
#!/bin/bash
sudo apt install zsh wget curl
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
#sudo apt install wget curl
#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
alias stow="./php/bin/stow"
./solve-stow.sh bin
./solve-stow.sh php
./solve-stow.sh zsh
./solve-stow.sh fish
chsh -s $(which zsh)
chsh -s $(which fish)
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
curl -fsSL https://pixi.sh/install.sh | sh