diff --git a/.bashrc b/.bashrc index 906c623..22778eb 100644 --- a/.bashrc +++ b/.bashrc @@ -9,7 +9,7 @@ virtualenv_info() { # Get Virtual Env if [[ -n "$VIRTUAL_ENV" ]]; then # Strip out the path and just leave the env name - venv="${basename $VIRTUAL_ENV}" + venv="$(basename $VIRTUAL_ENV)" else # In case you don't have one activated venv=''