My venvs are in .direnv/ now anyway...
This commit is contained in:
parent
9f9d25d4ac
commit
629f745917
8
.bashrc
8
.bashrc
|
@ -87,13 +87,7 @@ python_ps1()
|
||||||
then
|
then
|
||||||
pypath="$relative"
|
pypath="$relative"
|
||||||
fi
|
fi
|
||||||
local venvpath="${pypath%/bin/python}"
|
printf "$1" "${pypath%/bin/python}"
|
||||||
if [[ "$venvpath" == ".venv" ]]
|
|
||||||
then
|
|
||||||
printf "$1"
|
|
||||||
else
|
|
||||||
printf "$1" "$venvpath "
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "$TERM" != 'dumb' ]]
|
if [[ "$TERM" != 'dumb' ]]
|
||||||
|
|
Loading…
Reference in New Issue