You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This lines checks for type block, but many/(most?) prompts will now be of type closure, causing them to render as <Closure X> rather than actually running the prompt function.
eg.
(venv) <Closure 11>〉
I don't have the expertise to know whether switching that check to "closure" is the correct fix or not so I'm just leaving this bug report rather than opening a PR. Editing that line in my activate.nu does work as a temporary fix though.
Environment
Provide at least:
OS: macos 13.1
pip list of the host python where virtualenv is installed:
Issue
The Nushell activation script no longer handles prompts correctly due to the split of closures and blocks in 0.72.
virtualenv/src/virtualenv/activation/nushell/activate.nu
Line 95 in beb7d66
This lines checks for type
block
, but many/(most?) prompts will now be of typeclosure
, causing them to render as<Closure X>
rather than actually running the prompt function.eg.
I don't have the expertise to know whether switching that check to "closure" is the correct fix or not so I'm just leaving this bug report rather than opening a PR. Editing that line in my
activate.nu
does work as a temporary fix though.Environment
Provide at least:
pip list
of the host python wherevirtualenv
is installed:Output of the virtual environment creation
This isn't an issue with creation so I'm not including this.
The text was updated successfully, but these errors were encountered: