diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 30b8f4e..2ed7632 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -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.1.2" +set -g DOTFILES_VERSION "1.1.3" # --- Remote repository (set this to enable auto-updates) -------------------- # Example: diff --git a/.config/fish/functions/dotfiles.fish b/.config/fish/functions/dotfiles.fish index 27126ff..5332afe 100644 --- a/.config/fish/functions/dotfiles.fish +++ b/.config/fish/functions/dotfiles.fish @@ -465,6 +465,11 @@ function dotfiles_sync -d "Pull remote updates and re-apply all dotfiles" echo " functions/ updated" set had_updates 1 end + if test -d "$tmpdir/.config/fish/conf.d" + command cp -r "$tmpdir/.config/fish/conf.d/." "$__fish_config_dir/conf.d/" + echo " conf.d/ updated" + set had_updates 1 + end # ── Step 6: Clean up ─────────────────────────────────────────────────── command rm -rf "$tmpdir"