From a8814132bcb6fd17f564593d419cb51dbc4ccab9 Mon Sep 17 00:00:00 2001 From: Pendosv Date: Wed, 1 Sep 2021 22:07:44 +0300 Subject: [PATCH] fix bug --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=''