Release v0.6.2
Release v0.6.2
🎉 Highlights
This release significantly improves the dotfiles conflict resolution workflow by introducing configurable diff tool support and an interactive menu system. Users can now choose their preferred diff/merge tool (vimdiff, neovim, meld, VS Code, etc.) and resolve conflicts more efficiently with a streamlined interface.
✨ What's New
Configurable Diff Tool Support
- Added new
diffToolconfiguration option accessible viah config - Supports popular diff tools out of the box:
- vimdiff (vim)
- nvim -d (neovim)
- meld
- opendiff (macOS FileMerge)
- VS Code (
code --diff --wait) - Custom commands
- Auto-detects a sensible default based on your
$EDITORenvironment variable
Improved Conflict Resolution Workflow
- New interactive menu when encountering file conflicts during
dots sync,dots apply, anddots diff - Options to view inline diff, open in external diff tool, apply changes, or skip—all from a single menu
- External diff tool integration allows reviewing changes in your preferred editor before deciding
- Menu loops back after viewing diffs, letting you inspect changes multiple times before committing to an action
🔧 Technical Changes
- Refactored path resolution in
dots addanddots rmto properly handle relative paths from current directory - Added validation that paths must be inside home directory
- Extracted diff tool detection and spawning into reusable utility functions (
detectDefaultDiffTool,getDiffToolArgs,openExternalDiff)
📝 Full Changelog
See all changes: v0.6.1...v0.6.2
Full Changelog: v0.6.1...v0.6.2