Paczesiowa / virthualenv

Virtual Haskell Environment builder
BSD 3-Clause "New" or "Revised" License
69 stars 7 forks source link

automatically source when moving into the directory #33

Closed gregwebs closed 12 years ago

gregwebs commented 12 years ago

overriding cd seems fraught with peril. Perhaps you can just add the below to the documentation

function precmd() {
  if [[ -z $VIRTHUALENV_NAME ]]; then
    if [[ -e .virthualenv/bin/activate ]]; then
      source .virthualenv/bin/activate
    fi  
  fi
PROMPT="...$VIRTHUALENV_NAME..."
}
Paczesiowa commented 12 years ago

no new feautures in virthualenv, only bug fixes. use hsenv

gregwebs commented 12 years ago

can you put hsenv on hackage?

Paczesiowa commented 12 years ago

I've uploaded updated virthualenv to hackage, I'll upload hsenv after finishing all 0.3 issues