Hi Dario

It looks good, if it was around when I started using fish I definitely 
would have used it.

When I moved to fish I made a custom workon script but got bored of 
updating it every time something changed or I had to customise it in a 
different environment. Eventually I gave up and now just use the 
virtualenv/bin/activate.fish with a custom fish deactivate function (I 
didn't realise I was using this until I just looked now), which I find 
is very easy.

function deactivate
     if count $CURRENT_VIRTUALENV
         set PATH $OLD_PATH
         set -e CURRENT_VIRTUALENV
     else
         echo ERROR: virtualenv not invoked, exiting
     end
end

I found that virtualenvwrapper is great when you start working with 
virtualenvs, but once you become familiar with them it becomes unnecessary.


On 27/05/2013 00:08, Dario Bertini wrote:
> Hi, I got tired of virtualenvwrapper, and to have to go back to bash
> to create/delete virtualenvs (I was using a simple workon function to
> activate them from inside fish)... and I decided to do a rewrite
>
> https://github.com/berdario/invewrapper
>
> It's in pure python, so it can actually work everywhere; but the main
> reason I was compelled to write it, is because nowadays I've been a
> fish user for the whole past year :)
>
> Yes, I know about virtualfish... https://github.com/adambrenecki/virtualfish
> but I actually didn't know about it, when I started invewrapper :)
> (anyhow, the philosophy behind it is kinda different, so I'd expect
> that people might prefer one or the other)
>
> Please, let me know if you have some feedback
>
> :Dario
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to