pew icon indicating copy to clipboard operation
pew copied to clipboard

Add "switching from virtualenvwrapper" documentation

Open rbarrois opened this issue 12 years ago • 2 comments

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?

rbarrois avatar Aug 13 '13 12:08 rbarrois

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

berdario avatar Aug 13 '13 12:08 berdario

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

rbarrois avatar Aug 13 '13 12:08 rbarrois