dotfiles v1.0.5

This commit is contained in:
Your Name
2026-06-19 20:17:59 +00:00
parent 962d4bd8be
commit 85da31c470
2 changed files with 7 additions and 1 deletions

View File

@@ -38,7 +38,7 @@
# DOTFILES_DIR holds the template files; DOTFILES_BACKUP_DIR holds backups
# and the last-update-check timestamp.
set -g DOTFILES_VERSION "1.0.4"
set -g DOTFILES_VERSION "1.0.5"
# --- Remote repository (set this to enable auto-updates) --------------------
# Example:

View File

@@ -382,6 +382,12 @@ if test -f "$repo_file"
set -gx DOTFILES_REPO_URL (command cat "$repo_file")
end
# Ensure there's always a default branch, even if config.fish hasn't been
# reloaded after a framework update.
if not set -q DOTFILES_REPO_BRANCH
set -gx DOTFILES_REPO_BRANCH "main"
end
# ══════════════════════════════════════════════════════════════════════════════
# dotfiles_sync — full sync: git pull + update all dotfiles