New submission from Brett Cannon <br...@python.org>:
I did a Twitter poll to see if there was consistent naming of the directory people created a virtual environment into when done locally to code (the answer is no). But a common theme was people not liking that the prompt defaults to the name of the directory that the virtual environment is in and seem to prefer for it to be `os.path.basename(os.getcwd())`. Maybe it makes sense to add a `--basename-prompt` flag to set the prompt to the current working directory's basename? ---------- components: Library (Lib) messages: 357385 nosy: brett.cannon, vinay.sajip priority: low severity: normal status: open title: Add a CLI flag to venv to use the pwd basename as the prompt type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38901> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com