1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-03 15:47:47 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Justin Ma
90eb75d97f
Fix from env custom command (#1045)
Fix `from env` custom command

#### Description

This pull request addresses issues with the `from env` custom command in
the Nushell script, improving the handling and sanitization of parsed
environment variable values. The main focus of this update is to enhance
the parsing behavior to handle edge cases and ensure proper formatting
of output.
2025-02-13 06:18:13 -06:00
Xavier Ruiz
e245718d30
fix "from env" newline handling (#1021)
Many (at least the ones I have encountered) env loaders replace "\n"
with a
literal newline character when loading an env variable. I need this
change in
my personal config and I think others would also prefer this default.
2025-01-25 18:19:36 -06:00
Piepmatz
df90d65eec
Add from env (#808)
This adds a little command that allows opening .env files as records.
My implementation removes comments and works with both quoted and
unquoted .env files.
2024-04-03 06:49:41 -05:00