bugfix #99: bad quotes around virtualenv name

This commit is contained in:
nojhan 2013-01-29 23:45:29 +01:00
parent 15c1991ce0
commit e9ab57ff89

View File

@ -557,7 +557,7 @@ _lp_permissions_color()
_lp_virtualenv() _lp_virtualenv()
{ {
[[ "$LP_ENABLE_VIRTUALENV" != 1 ]] && return [[ "$LP_ENABLE_VIRTUALENV" != 1 ]] && return
[[ -n "$VIRTUAL_ENV" ]] && echo "[$(basename \"$VIRTUAL_ENV\")]" [[ -n "$VIRTUAL_ENV" ]] && echo "[$(basename $VIRTUAL_ENV)]"
} }