mbodock / FishEnv

Fishshell implementation of the Virtualenvwrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FishEnv

Fishshell implementation of the Virtualenvwrapper.

With tab completion!

Requisites

How to install

First download the script to your pc.

wget https://raw.githubusercontent.com/mbodock/FishEnv/master/fishenv.fish

Then source the file in you config.fish. That's it.

Functions

  • mkvirtualenv <env> Creates a virtualenv in ~/.fishenvs/ which will points to the current directory.
  • rmvirtualenv <env> Deletes a virtualenv
  • mktmpenv [env] Creates a temporary virtualenv that will be deleted after deactivation.
  • workon <env> this command will activate the virtualenv and switch to the projects directory.
  • workon_dir [arg] Changes the directory of the working env or env.
  • deactivate Deactivates the current virtualenv. Also deletes if it is a temporary env

Working with Python 3

If you want your VirtualEnv with python 3 just pass the optinal argument --python=/usr/bin/python3.

About

Fishshell implementation of the Virtualenvwrapper


Languages

Language:Shell 100.0%