Install git-delta -- a syntax-highlighting pager for git, diff, grep, and blame output.
Scope
- New tool installer at
scripts/linux/tools/delta.sh (apt for Ubuntu 22.04+, GitHub release tarball fallback for older / non-apt systems)
- Windows counterpart at
scripts/windows/tools/delta.ps1 (winget preferred, scoop fallback)
- Wire into the install pipeline behind the new flag framework (filed separately)
Global git config to apply post-install
git config --global core.pager delta
git config --global interactive.diffFilter 'delta --color-only'
git config --global delta.navigate true
git config --global delta.dark true # or `delta.light true`, or omit for auto-detection
git config --global merge.conflictStyle zdiff3
Out of scope
- Per-user theme customization (users can override post-install)
- Light-mode preference (default to
delta.dark true; document the override)
Verification
- New parity test pair (bash + pwsh) for the installer
- Verify
git diff output uses delta after install + config
- Verify
git config --global --get core.pager returns delta
Dependencies
- Should land after the flag framework (filed separately) so it slots in as an opt-in tool from day one.
Install git-delta -- a syntax-highlighting pager for git, diff, grep, and blame output.
Scope
scripts/linux/tools/delta.sh(apt for Ubuntu 22.04+, GitHub release tarball fallback for older / non-apt systems)scripts/windows/tools/delta.ps1(winget preferred, scoop fallback)Global git config to apply post-install
Out of scope
delta.dark true; document the override)Verification
git diffoutput uses delta after install + configgit config --global --get core.pagerreturnsdeltaDependencies