Can't change the prompt #9660
Unanswered
ivan-kleshnin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to change the terminal prompt as it contains excessive information:
I ran
poetry config virtualenvs.prompt venv
Verified to be applied with
poetry config --list
.I set
POETRY_VIRTUALENVS_PROMPT
tovenv
(should duplicate the above but just in case)I also updated
./venv/pyvenv.cfg
to haveprompt = venv
(as suggested in some S.O answers).It didn't change anything. I was still seeing the original long prompt in my system Terminal and in PyCharm 🤦♂️
.venv/bin/activate
and hacked the bash script:What am I missing, why prompt settings seem to have no effect?
Beta Was this translation helpful? Give feedback.
All reactions