My venvs are in .direnv/ now anyway...

This commit is contained in:
Julien Palard 2023-12-02 00:05:20 +01:00
parent 9f9d25d4ac
commit 629f745917
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 1 additions and 7 deletions

View File

@ -87,13 +87,7 @@ python_ps1()
then
pypath="$relative"
fi
local venvpath="${pypath%/bin/python}"
if [[ "$venvpath" == ".venv" ]]
then
printf "$1"
else
printf "$1" "$venvpath "
fi
printf "$1" "${pypath%/bin/python}"
}
if [[ "$TERM" != 'dumb' ]]