Skip to content

Instantly share code, notes, and snippets.

View JustinStitt's full-sized avatar
👻
learning something new everyday!

Justin Stitt JustinStitt

👻
learning something new everyday!
View GitHub Profile
@Potat0000
Potat0000 / auto-virtualenv
Created July 17, 2019 00:45
Auto activate and deactivate a virtualenv environment
#!/usr/bin/env zsh
#
# Auto activate and deactivate a virtualenv environment
#
# Usage:
#
# Add the following code to your zshrc file. If you are using bash, change the header to bash and put the following code to your bashrc.
# ```
# source /dir/to/auto-virtualenv
# ```