diff --git a/.bashrc b/.bashrc index 6a1a5ca..c5cd974 100644 --- a/.bashrc +++ b/.bashrc @@ -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' ]]