Skip to content

feat: add opencode-llama flavor via chezmoi external + shell alias#11

Merged
xnoto merged 1 commit into
mainfrom
feat/opencode-llama-flavor
May 1, 2026
Merged

feat: add opencode-llama flavor via chezmoi external + shell alias#11
xnoto merged 1 commit into
mainfrom
feat/opencode-llama-flavor

Conversation

@xnoto

@xnoto xnoto commented May 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a chezmoi external for `/.config/opencode-llama` pulling `git@github.com:xnoto/opencode-llama` via ssh + `--ff-only`, mirroring the existing `/.config/opencode` entry.
  • Adds an `opencode-llama` alias in both `dot_bashrc.d/opencode` and `dot_zprofile.tmpl` that runs `opencode` with `OPENCODE_CONFIG_DIR` pointed at the new directory. Single-quoted so `$HOME` expands at invocation and the override is one-shot — it doesn't leak into the surrounding shell.

Test plan

  • `chezmoi apply` populates `~/.config/opencode-llama` from the upstream repo
  • In a fresh bash shell, `type opencode-llama` shows the alias
  • In a fresh zsh login shell, `type opencode-llama` shows the alias
  • `opencode-llama` launches opencode using the llama config dir; the parent shell's `OPENCODE_CONFIG_DIR` is unchanged afterward

🤖 Generated with Claude Code

Pull ~/.config/opencode-llama from xnoto/opencode-llama via the same
ssh + --ff-only pattern as ~/.config/opencode, and add an
opencode-llama alias in bash and zprofile that runs opencode with
OPENCODE_CONFIG_DIR pointed at that directory.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xnoto xnoto self-assigned this May 1, 2026
@xnoto xnoto merged commit 1aeb4a7 into main May 1, 2026
1 check passed
@xnoto xnoto deleted the feat/opencode-llama-flavor branch May 1, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant