From 7ae7a0266c04f2645bdf9917378645fc505e7461 Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Tue, 30 May 2017 17:29:32 -0700 Subject: [PATCH] Update python docs to include info on virtualenv auto-switching --- modules/python/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/python/README.md b/modules/python/README.md index 4047d0ff..a554bdf1 100644 --- a/modules/python/README.md +++ b/modules/python/README.md @@ -61,6 +61,15 @@ system site-packages directory. export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--system-site-packages' +### Additional Options + +There is a hook to enable auto-switching to virtualenvs when switching into a +directory where the root of the project matches a virtualenv name. + +This can be enabled with: + + zstyle ':prezto:module:python:virtualenv' auto-switch 'yes' + Aliases -------