Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taoso/tini_autovirtualenv

bash helper to auto active python virtualenv, works well under tmux
https://github.com/taoso/tini_autovirtualenv

Last synced: about 2 months ago
JSON representation

bash helper to auto active python virtualenv, works well under tmux

Awesome Lists containing this project

README

        

tini_autovirtualenv
===================

bash helper to auto active python virtualenv, works well under tmux

when you first enter into a dicrector which contains a .env file and the .env file contains one line which is a virtualenv name. Then, the virtualenv will be actived automatically.

If you change path to the sub dicrector of the work place, nothing will be changed. However, when you leave the work palace, the virtualenv will be deactived.

As Tmux could only use the .bash_profile. What we could do is just execute the .bashrc file in the .bash_profile. All in all, this works well under Tmux.

Just enjoy it.

My Email: [email protected]