delta-catppuccin-setup
This skill should be used when the user asks to "configure delta theme", "add catppuccin to delta", "set up delta colors", "update catppuccin.gitconfig", or needs to install or update the Catppuccin M
SKILL.md.claude/skills/delta-catppuccin-setup/SKILL.md
GitHubDelta Catppuccin Setup
File structure
git/catppuccin.gitconfig— stowed to~/.config/git/catppuccin.gitconfigviastow .gitconfig/.gitconfig— contains[include]and[delta] features
Installation
- Download the official catppuccin/delta file:
gh api repos/catppuccin/delta/contents/catppuccin.gitconfig --jq '.content' | base64 -d > dotfiles/git/catppuccin.gitconfig
- Stow via XDG package (
stow .already covers thegit/dir):
stow .
# → ~/.config/git/catppuccin.gitconfig
- In
gitconfig/.gitconfig:
[include]
path = ~/.config/git/catppuccin.gitconfig
[delta]
features = catppuccin-macchiato
Prerequisites
git-deltaandbatinBrewfile(already present)- bat theme "Catppuccin Macchiato" in
bat/config(official catppuccin/delta requirement)
Delta flags to remember
- No
--no-side-by-side— disable side-by-side by not passing-s/--side-by-side - No
--side-by-side=false— syntax not supported --no-gitconfig— resets all gitconfig (useful for context-specific overrides)--syntax-themenot needed when using thefeaturesmethod (already included in the feature block)
FZF_GIT_PAGER
For fzf-git diff previews (panel too narrow for side-by-side), in zsh/fzf.zsh:
export FZF_GIT_PAGER="delta --no-gitconfig --line-numbers --dark --syntax-theme 'Catppuccin Macchiato'"
--no-gitconfigdisables side-by-side that would otherwise be read from gitconfig- Explicit
--syntax-themerequired:--no-gitconfigbypasses the feature block