Skip to content

Next - #7682

Merged
JanDeDobbeleer merged 5 commits into
mainfrom
next
Jul 15, 2026
Merged

Next#7682
JanDeDobbeleer merged 5 commits into
mainfrom
next

Conversation

@JanDeDobbeleer

Copy link
Copy Markdown
Owner

Prerequisites

  • I have read and understood the contributing guide.
  • The commit message follows the conventional commits guidelines.
  • Tests for the changes have been added (for bug fixes / features).
  • Docs have been added/updated (for bug fixes / features).

JanDeDobbeleer and others added 5 commits July 15, 2026 07:03
Shells already report whether a command ran before the current prompt
via --no-status, but templates could not access it, so segments kept
showing the previous exit code after pressing enter on an empty line.
Expose the flag as the global .Executed boolean so templates can hide
stale command metadata, and route it through the data file replay with
the same flag precedence as the other env keys.

Closes #7679

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Entire-Checkpoint: 0dcae3896550
Render palette values containing a Go template at resolution time,
with access to the global template properties (.Segments, .Env, ...).
A template can resolve to any color value, including another palette
reference, which then follows the existing recursive resolution and
its depth limit. Rendering is guarded by a cheap substring check so
static palettes are unaffected.

Closes #7572

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Entire-Checkpoint: e29966ae2d7f
Copilot AI review requested due to automatic review settings July 15, 2026 05:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@JanDeDobbeleer
JanDeDobbeleer enabled auto-merge (rebase) July 15, 2026 05:52
@JanDeDobbeleer
JanDeDobbeleer merged commit e122639 into main Jul 15, 2026
12 checks passed
@JanDeDobbeleer
JanDeDobbeleer deleted the next branch July 15, 2026 05:56
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.

2 participants