Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orf/virtualenv-fish
Fast and simple virtualenv utilities for the Fish shell
https://github.com/orf/virtualenv-fish
fish fish-plugin fish-plugins fish-shell
Last synced: about 2 months ago
JSON representation
Fast and simple virtualenv utilities for the Fish shell
- Host: GitHub
- URL: https://github.com/orf/virtualenv-fish
- Owner: orf
- Created: 2019-11-15T17:16:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T11:25:38.000Z (about 4 years ago)
- Last Synced: 2024-12-08T07:44:23.662Z (2 months ago)
- Topics: fish, fish-plugin, fish-plugins, fish-shell
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# virtualenv-fish
Fast and simple virtualenv utilities for the Fish shell.
## Installation
This package can be installed with fisher, fundle or oh-my-fish:
`fisher add orf/virtualenv-fish`
`fundle plugin 'orf/virtualenv-fish'`
`omf install virtualenv-fish`
## Usage
### Temporary virtual environment: `tmpenv`
Running `tmpenv` will create a temporary virtual environment for you to experiment with.
You can add custom package that will always be installed by creating a file in
`~/.config/virtualenv-fish/global_requirements.txt`. e.g:```
ipython
numpy
```## Why not [virtualfish](https://github.com/excitedleigh/virtualfish)?
Virtualfish is pretty complete and contains a lot of functionality. However I
found that it was slowing my shell startup down a lot. The main offender is the
compulsory `eval (python -m virtualfish)` command you add to your `config.fish`. This
easily adds 400 to 500ms to every shell startup.The most used feature for me was the temporary virtual environment management, so I've
ported this to pure fish.