Dotfiles update 2025-12-22 00:39
This commit is contained in:
@@ -305,8 +305,8 @@ _background_tasks() {
|
||||
# Check for dotfiles updates
|
||||
if [[ "${DOTFILES_AUTO_SYNC_CHECK:-true}" == "true" ]]; then
|
||||
# Use full path to avoid command_not_found issues
|
||||
local sync_script="$_dotfiles_dir/bin/dotfiles-sync.sh"
|
||||
[[ -x "$sync_script" ]] && "$sync_script" --auto 2>/dev/null &!
|
||||
$_dotfiles_dir/bin/dotfiles-sync.sh status -s 2> /dev/null
|
||||
#[[ -x "$sync_script" ]] && "$sync_script" --auto 2>/dev/null &!
|
||||
fi
|
||||
|
||||
# Check number of available updates and export.
|
||||
|
||||
@@ -43,9 +43,9 @@ dffix() { _df_run dotfiles-doctor.sh --fix "$@"; }
|
||||
# Sync - multi-machine synchronization
|
||||
dfs() { _df_run dotfiles-sync.sh "$@"; }
|
||||
dfsync() { _df_run dotfiles-sync.sh "$@"; }
|
||||
dfpush() { _df_run dotfiles-sync.sh --push "$@"; }
|
||||
dfpull() { _df_run dotfiles-sync.sh --pull "$@"; }
|
||||
dfstatus() { _df_run dotfiles-sync.sh --status "$@"; }
|
||||
dfpush() { _df_run dotfiles-sync.sh push "${1:-Dotfiles update $(date '+%Y-%m-%d %H:%M')}"; }
|
||||
dfpull() { _df_run dotfiles-sync.sh pull "$@"; }
|
||||
dfstatus() { _df_run dotfiles-sync.sh status "$@"; }
|
||||
|
||||
# Update - pull latest and reinstall
|
||||
dfu() { _df_run dotfiles-update.sh "$@"; }
|
||||
|
||||
Reference in New Issue
Block a user