--prompt .
: the dot causes the basename of the current directory to be used
#2215
Labels
--prompt .
: the dot causes the basename of the current directory to be used
#2215
What's the problem this feature will solve?
I'd like an easy way to have the prompt reflect the directory the env was created in.
Describe the solution you'd like
I'd like
--prompt .
to use the basename of the current directory for the prompt, similar to what venv does.More specifically, the prompt should be the directory in parentheses.
Alternative Solutions
We could change the default prompt to be this. that'd be cool.
Additional context
This as been in the venv implementation of Pyhon since Python 3.9.something.
Python 3 documentation: https://docs.python.org/3/library/venv.html#api
The text was updated successfully, but these errors were encountered: