Description
The virtual environment in a fresh devcontainer is named template-project instead of the project name.
Problem Statement
Aesthetics mainly
Proposed Solution
The renaming must happen during first initialization of the container, since the venv is stored in the image. I have been using the following line in post-create.sh:
# Set venv prompt
sed -i 's/template-project/{{SHORT_NAME}}/g' /root/assets/workspace/.venv/bin/activate
Alternatives Considered
No response
Additional Context
No response
Impact
No response