Issue #55 resolved

Error on startup (egrep)

Jason Baker
created an issue

Whenever I start my shell, I get the following error:

egrep: Unmatched [ or [^

I'm not really sure how to track down the source of this. I //believe// it's a virtualenvwrapper problem, but I'm not sure. Is there any extra info I can give you to help track it down?

Comments (8)

  1. Doug Hellmann repo owner

    What shell & what version of virtualenvwrapper?

    You can verify that it's coming from the wrapper by sourcing it from the command line directly:

    source /usr/local/bin/

    (changing the path, as needed).

  2. Jason Baker reporter

    This is with zsh and version 2.2 of virtualenvwrapper.

    Here's what happens if I source directly:

     . /usr/local/bin/
    egrep: Unmatched [ or [^
  3. Doug Hellmann repo owner
    • changed status to open

    OK, I think I see where the problem is. I'll try to reproduce it here and get a fix out as soon as possible.

    If you want to try patching locally, open and look for the first egrep call (there are two, you want the one that has a $ in the regex). I *think* if you replace the double quotes in that command with single quotes the issue should go away.

  4. Log in to comment