Skip to content

fix(auto-venv): handle overlay list returning table instead of list#1260

Merged
fdncred merged 1 commit into
nushell:mainfrom
deadbranch-forks:fix/overlay-list-table
Jun 19, 2026
Merged

fix(auto-venv): handle overlay list returning table instead of list#1260
fdncred merged 1 commit into
nushell:mainfrom
deadbranch-forks:fix/overlay-list-table

Conversation

@DeadBranches

Copy link
Copy Markdown
Contributor

overlay list now returns table<name: string, active: bool> instead of list<string>. The in operator does not support membership checks against tables, causing venv-is-active to fail.

Pipe through get name to extract the string column before checking overlay membership.

`overlay list` now returns `table<name: string, active: bool>` instead of `list<string>`. The `in` operator does not support membership checks against tables, causing venv-is-active to fail.

Pipe through `get name` to extract the string column before checking overlay membership.
@fdncred fdncred merged commit 6e38e89 into nushell:main Jun 19, 2026
1 check passed
@fdncred

fdncred commented Jun 19, 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