pew-org / pew

A tool to manage multiple virtual environments written in pure python
MIT License
1.17k stars 81 forks source link

Add "switching from virtualenvwrapper" documentation #6

Open rbarrois opened 11 years ago

rbarrois commented 11 years ago

Hi,

I've just found your project (through https://gist.github.com/datagrok/2199506), and have begun a migration from virtualenvwrapper to your tool.

Could you add a short "How-to" to ease switching from virtualenvwrapper to pew?

berdario commented 11 years ago

It should be enough to remove the source virtualenvwrapper.sh command from your shell rc file (or rename/delete the virtualenvwrapper.sh if installed globally with a .deb package) and then use pew right away

pew ls will add the inve script in the already existing virtualenvs, making you able to workon into them

I'll try again these steps on a new user, check if any further instruction is needed, and add them to the README

rbarrois commented 11 years ago

Thanks, looks like it worked auto-magically.

I think adding the pew ls trick to the doc would be helpful.

By the way, I've just added a simple zsh tab-completion helper for pew, if you're interested:

function _lsvenvs() {reply=(`pew-ls`)}
compctl -K _lsvenvs pew-cp
compctl -K _lsvenvs pew-rm
compctl -K _lsvenvs pew-workon