CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/chezmoi

Expert assistant for chezmoi dotfiles management. Use when: "add this file to chezmoi", "make this a template", "encrypt this secret", "apply on a new machine", "run script only once", "manage dotfiles across machines". Examples: - user: "Track my .zshrc with chezmoi" → chezmoi add ~/.zshrc - user: "Make my .gitconfig machine-specific" → convert to .tmpl, use {{ .chezmoi.hostname }} - user: "Run a script only on first apply" → once_ prefix - user: "Sync to a new laptop" → chezmoi init --apply $GITHUB_USERNAME - user: "Why isn't my file being applied?" → diagnose source attribute, diff, doctor

96

Quality

96%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

task.mdmanaging-chezmoi-packages/evals/scenario-0/

Add zsh-autosuggestions to Dotfiles

Problem Description

A developer maintains their dotfiles with chezmoi and wants to start managing zsh-autosuggestions — a popular Zsh plugin that shows command completions based on history. Right now they install it manually on each new machine and occasionally forget, so their shell experience is inconsistent.

They want the plugin to be declared in their dotfiles repo so that chezmoi apply on any new machine sets it up automatically. They also want it to stay up-to-date without manual tracking.

The dotfiles repository already uses the layout below. The .chezmoiexternals/ directory exists but does not yet have a Zsh file.

home/
├── .chezmoidata/
│   └── packages.yaml
├── .chezmoiexternals/
│   └── bat.externals.toml
└── dot_zshrc.tmpl

Output Specification

Produce a single file proposal.md containing your complete recommendation. It should include:

  • The target file path where the external definition should be added
  • The full TOML content to add (ready to copy-paste)
  • Any Renovate automation rule needed (full JSON5 snippet)
  • The commands the developer should run to preview and apply the change

Do not apply any changes — just produce the proposal file.

managing-chezmoi-packages

tile.json