Skip to content

Conversation

@BirdeeHub
Copy link
Owner

meta is added to each individual command result's actual metatable

meta_main IS the metatable for the current copy of the sh variable (careful! copy can restore the essential values though!)

moved sh.transforms to be a repr specific option i.e. sh.repr = { newshell = { transforms = {} } }

allowed __newindex access on main variable to deepextend if prefixed with x like sh._x_repr = { newshell = { transforms = {} } }

added os.env, equivalent to vim.env, to runLuaCommand.nix

meta is added to each individual command result's actual metatable

meta_main IS the metatable for the current copy of the sh variable
(careful!)

moved sh.transforms to be a repr specific option i.e. sh.repr = {
newshell = { transforms = {} } }

allowed __newindex access on main variable to deepextend if prefixed
with _x_ like sh._x_repr = { newshell = { transforms = {} } }

added os.env to runLuaCommand.nix
@BirdeeHub BirdeeHub merged commit f2e6aee into master May 24, 2025
3 checks passed
@BirdeeHub BirdeeHub deleted the updates branch May 24, 2025 05:50
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