Test & Code in Python

130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn

September 13th, 2020  •  36 mins 18 secs  •  Download (25 MB)  •  Link with Timestamp

RSS Feed

virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Skinn noticed inconsistencies. He set out to fix those inconsistencies. That was the start of an adventure in open source collaboration, shell prompt internals, difficult test problems, and continuous integration quirks.