Skip to content

Instantly share code, notes, and snippets.

@AJDurant
AJDurant / postmkvirtualenv.sh
Last active December 20, 2015 14:09 — forked from jaysw/postmkvirtualenv.sh
Updated for cygwin use
#!/usr/bin/env bash
# file: ~/.virtualenvs/postmkvirtualenv
# This hook is run after a new virtualenv is activated.
# setup python interpretor and sitepackages
# for Sublime Text's SublimeCodeIntel plugin.
# codeintel looks in the root of any folder opened via `subl foldername`
# for foldername/.codeintel/config
# it also looks in ~/.codeintel/config