https://github.com/samuelesabella/autosource
Automatic activate and deactivate virtual envs when moving inside directories
https://github.com/samuelesabella/autosource
cd deactivate python source virtualenv
Last synced: about 1 month ago
JSON representation
Automatic activate and deactivate virtual envs when moving inside directories
- Host: GitHub
- URL: https://github.com/samuelesabella/autosource
- Owner: samuelesabella
- License: lgpl-3.0
- Created: 2019-10-25T07:32:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T10:34:49.000Z (over 5 years ago)
- Last Synced: 2025-02-09T13:15:03.376Z (3 months ago)
- Topics: cd, deactivate, python, source, virtualenv
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AUTOSOURCE
Automatic activate and deactivate python virtualenvs when moving around directories.
**Note**: this first version activates only virtualenv which are in directories named "venv"### Install
```
$ wget -O autosource.sh https://raw.githubusercontent.com/samuelesabella/autosource/master/autosource.sh && bash <(curl -s https://raw.githubusercontent.com/samuelesabella/autosource/master/installer.sh) && rm autosource.sh
```
The installation script will add an alias for the command *cd* into your **bash_profile** (macOS) or **bashrc** (linux).# Uninstall
Edit the file **~/.bash_profile** (macOS) or **~/.bashrc** (linux) and remove the lines between the *"autosource tags"*