Commit local changes before merging with remote

This commit is contained in:
Peter Wood
2025-05-29 11:25:02 -04:00
parent 868b340fb5
commit be4f6a8d8c
75 changed files with 14107 additions and 562 deletions

View File

@@ -47,6 +47,12 @@ if ! command -v git &>/dev/null; then
sudo nala install -y git
;;
dnf)
# Enable COPR repositories for Fedora before installing packages
if [ "$OS_NAME" = "fedora" ]; then
echo -e "${YELLOW}Setting up COPR repositories for Fedora...${NC}"
sudo dnf copr enable -y alternateved/eza 2>/dev/null || echo -e "${YELLOW}Eza COPR repo already enabled or unavailable${NC}"
sudo dnf copr enable -y shaps/lazygit 2>/dev/null || echo -e "${YELLOW}Lazygit COPR repo already enabled or unavailable${NC}"
fi
sudo dnf install -y git
;;
apt)
@@ -71,6 +77,7 @@ fi
# Make scripts executable
chmod +x "$DOTFILES_DIR/setup/setup.sh"
chmod +x "$DOTFILES_DIR/completions/backup-scripts-completion.bash" 2>/dev/null || true
# Run setup script
"$DOTFILES_DIR/setup/setup.sh"