brandyn · GitHub

Bug report

Bug description:

activate.csh uses "$prompt" in quotes like that, which fails when the user prompt contains a newline (error: unbalanced quotes).

Using $prompt:q or "$prompt:q" solves this with no harm, at least in tcsh (not sure about vanilla csh), at least for activate. (Deactivate may have similar issue.)

CPython versions tested on:

3.11

Operating systems tested on:

Linux

Linked PRs

Read the original on github.com ↗