dotfiles v1.0.5
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
# DOTFILES_DIR holds the template files; DOTFILES_BACKUP_DIR holds backups
|
# DOTFILES_DIR holds the template files; DOTFILES_BACKUP_DIR holds backups
|
||||||
# and the last-update-check timestamp.
|
# 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) --------------------
|
# --- Remote repository (set this to enable auto-updates) --------------------
|
||||||
# Example:
|
# Example:
|
||||||
|
|||||||
@@ -382,6 +382,12 @@ if test -f "$repo_file"
|
|||||||
set -gx DOTFILES_REPO_URL (command cat "$repo_file")
|
set -gx DOTFILES_REPO_URL (command cat "$repo_file")
|
||||||
end
|
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
|
# dotfiles_sync — full sync: git pull + update all dotfiles
|
||||||
|
|||||||
Reference in New Issue
Block a user