Issues

Issue #53 resolved

Expanding $WORKON_HOME

Anonymous created an issue

Running 2.2 on Mac 10.6.4 I get an error during startup of

{{{

!shell

egrep: Unmatched [ or [^ }}}

I tracked it down to line 71: {{{

!bash

if echo "$WORKON_HOME" | egrep -e "([$~]|//)" >/dev/null }}}

I'm not sure of this, but I think the problem is that the $ should be escaped in the expression since you're looking for a literal $ in the path and not the end of the line. This fix doesn't have an error. {{{

!bash

if echo "$WORKON_HOME" | egrep -e "([\$~]|//)" >/dev/null }}}

Comments (3)

  1. Log in to comment