Skip to content

[BUG] Template variable does not parse variable in value #82

@nesl247

Description

@nesl247

Bug Description

When using a template variable with the value containing a variable, it does not actually parse the variable before setting the variable with the value.

Steps to Reproduce

  1. Create a template variable named "test1" with a value of "foo"
  2. Create a template variable named "test2" with a value of "{{ var.test1 }}"
  3. Create a script of echo {{ var.test2 }}

Expected Behavior

You should get "foo"

Actual Behavior

You'll see {{ var.test1 }}

Environment

  • OS: macOS 26.0.1
  • Atuin Desktop Version: 0.1.3 (20251003.204301)
  • Atuin CLI Version: atuin 18.8.0
  • Shell: bash
  • Terminal: iTerm2

Screenshots/Logs

Additional Context

Workaround

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions