xontrib-pyenv

Skeleton for `xontrib-pyenv`. This package is deprecated, please use `xontrib-langenv` instead.


Keywords
pyenv, xonsh, xontrib
License
MIT
Install
pip install xontrib-pyenv==1.0.4

Documentation

xontrib-langenv

xonsh integration with:

This xontrib replaces the slow langenv initialization with a faster python version (and skips the rehash step), which could save up to ~0.5s for each lang

The only two exceptions are:

so if you rewrite that goenv env var setting and pyenv virtualenv init logic in python and xontribute to this xontrib, you could eliminate the last sources of xonsh langenv startup delay!

Install

Install using pip

pip install xontrib-langenv

Usage

Add to your .xonshrc as follows:

Pyenv

xontrib load pyenv

This xontrib initializes pyenv when xonsh is started. After initialization pyenv commands works as they would do in any classic shell.

Also supports pyenv-virtualenv.

Nodenv

xontrib load nodenv

This xontrib initializes nodenv when xonsh is started. After initialization nodenv commands works as they would do in any classic shell.

Goenv

xontrib load goenv

This xontrib initializes goenv when xonsh is started. After initialization goenv commands works as they would do in any classic shell.

Rbenv

xontrib load rbenv

This xontrib initializes rbenv when xonsh is started. After initialization rbenv commands works as they would do in any classic shell.

Compatibility notes

If you are using xonsh v0.11 (or older) and you have issues with the latest version of this xontrib, try to downgrade it to version 1.0.6.