Skip to content

Comments

fix!: get/set env variables via env table#294

Merged
sammy-ette merged 2 commits intohyacinthfrom
env-table
Apr 23, 2025
Merged

fix!: get/set env variables via env table#294
sammy-ette merged 2 commits intohyacinthfrom
env-table

Conversation

@sammy-ette
Copy link
Owner

this is a breaking change. only merge this on a new major version (hilbish 3)

this removes the old "virtual global table" which allows getting environment variables via just their names in lua.

this means:
an environment variable (like TERM) would need to be accessed via the env table instead of just using TERM in lua.

TERM -> env.TERM
they can also be set via `env.VARIABLE = 'value'

  • I have documented changes and additions in the CHANGELOG.md.

this removes the old "virtual global table" which allows
getting environment variables via just their names in lua.

this means:
an environment variable (like TERM) would need to be accessed
via the `env` table instead of just using TERM in lua.

`TERM` -> `env.TERM`
they can also be set via `env.VARIABLE = 'value'
@sammy-ette sammy-ette changed the base branch from master to hyacinth April 23, 2025 23:31
@sammy-ette sammy-ette merged commit 2ca99fe into hyacinth Apr 23, 2025
1 check failed
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