diff --git a/.bashrc b/.bashrc index b5f08d6..82ed00c 100644 --- a/.bashrc +++ b/.bashrc @@ -15,12 +15,11 @@ virtualenv_info() { # Get Virtual Env if [[ -n "$VIRTUAL_ENV" ]]; then # Strip out the path and just leave the env name - venv="$(basename $VIRTUAL_ENV)" + echo "($(basename $VIRTUAL_ENV))" else # In case you don't have one activated venv='' fi - [[ -n "$venv" ]] && echo "($venv)" } close_color='\[\e[m\]'