add basic first time installation

This commit is contained in:
desolate
2026-05-14 18:21:18 +03:00
commit 7cb75b72c8
72 changed files with 1198 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
install_package "zsh"
install_package "zsh-completions"
install_package "zsh-autosuggestions"
install_package "zsh-syntax-highlighting"
if [ $(command -v zsh) >/dev/null 2>&1 ]; then
if [ $(basename $SHELL) != "zsh" ]; then
if ! error=$(sudo chsh -s /usr/bin/zsh $USER 2>&1); then
gum style --foreground 9 "✗ failed to change shell to zsh: $error"
else
gum style --foreground 15 "✓ changed shell to zsh"
sudo touch /tmp/reboot
fi
fi
fi