fix bug
This commit is contained in:
parent
f76ebf8ef2
commit
a8814132bc
2
.bashrc
2
.bashrc
@ -9,7 +9,7 @@ virtualenv_info() {
|
|||||||
# Get Virtual Env
|
# Get Virtual Env
|
||||||
if [[ -n "$VIRTUAL_ENV" ]]; then
|
if [[ -n "$VIRTUAL_ENV" ]]; then
|
||||||
# Strip out the path and just leave the env name
|
# Strip out the path and just leave the env name
|
||||||
venv="${basename $VIRTUAL_ENV}"
|
venv="$(basename $VIRTUAL_ENV)"
|
||||||
else
|
else
|
||||||
# In case you don't have one activated
|
# In case you don't have one activated
|
||||||
venv=''
|
venv=''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user