Skip to content

fix(nushell): Use extern-wrapped instead of def-env and $env instead of let-env#981

Merged
jdx merged 4 commits intojdx:mainfrom
Nezteb:patch-1
Nov 7, 2023
Merged

fix(nushell): Use extern-wrapped instead of def-env and $env instead of let-env#981
jdx merged 4 commits intojdx:mainfrom
Nezteb:patch-1

Conversation

@Nezteb
Copy link
Copy Markdown
Contributor

@Nezteb Nezteb commented Nov 6, 2023

Should fix https://github.com/jdx/rtx/issues/514 and https://github.com/jdx/rtx/issues/960.

My original fix was to use extern-wrapped, but that will be deprecated in the next release of Nushell, so I opted for def --wrapped which was added in nushell 0.86 released three weeks ago.

If you want more backstory, see this thread in the Nushell DIscord.

@Nezteb Nezteb changed the title fix(nushell): Use extern-wrapped instead of def-env fix(nushell): Use extern-wrapped instead of def-env and $env instead of let-env Nov 6, 2023
@jdx jdx enabled auto-merge (rebase) November 7, 2023 22:22
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6ed81d2) 87.41% compared to head (ca80e54) 87.41%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #981   +/-   ##
=======================================
  Coverage   87.41%   87.41%           
=======================================
  Files         132      132           
  Lines       11613    11613           
=======================================
  Hits        10151    10151           
  Misses       1462     1462           
Files Coverage Δ
src/shell/nushell.rs 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jdx jdx merged commit 2b385af into jdx:main Nov 7, 2023
jdx pushed a commit that referenced this pull request Apr 9, 2024
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.

Flags do not work in nushell

2 participants