Skip to content

Instantly share code, notes, and snippets.

View NervosaX's full-sized avatar

Adam Hoddinott NervosaX

  • LivePreso
  • Australia
View GitHub Profile
#!/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