Search code examples
gitshellpython-venvpython-poetry

Poetry shell command prompt: what gives the (base) part?


I am developing python projects under git control using poetry to manage my venvs.

From my project's directory I issue a "poetry shell" command and my new shell command prompt becomes something like:

(isagog-ai-py3.10) (base) bob@Roberts-Mac-mini isagog-ai %

where the first part in bracket gives me the name pf the project and the python version I'm using, and the last part of the prompt is my current directory name.

But what is it that gives me the "(base)" part? I'm actually working on a "dev" branch.


Solution

  • This is base environment from conda.