Skip to content

dynamic-load: check overlay names now that overlay list returns a table - #1300

Merged
fdncred merged 1 commit into
nushell:mainfrom
qodelicious:fix-dynamic-load-overlay-check
Oct 22, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
qodelicious:fix-dynamic-load-overlay-check

Conversation

@qodelicious

Copy link
Copy Markdown
Contributor

overlay list returns a table with name and active columns now, so '.nu' in (overlay list) is a parse error and the dynamic-load hook can't be used at all. This checks the names instead, same fix as the one auto-venv got in #1260.

Checked on 0.116.1 that the condition is true when ~/.nu exists and isn't loaded yet, and false after overlay use ~/.nu as .nu.

@fdncred
fdncred merged commit 0a85f06 into nushell:main Oct 22, 2026
1 check passed
@fdncred

fdncred commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Thanks

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