From bad9dfd251a1de133a7103e99e75b7642d58d283 Mon Sep 17 00:00:00 2001 From: Jonathan Batchelor Date: Wed, 28 Feb 2018 11:31:30 +0000 Subject: [PATCH] Added the current WORKON_HOME to help text. Display the automatically detected WORKON_HOME variable in the help text to show what the plugin is using. --- lib/init.coffee | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/init.coffee b/lib/init.coffee index 071d7e1..8842f69 100644 --- a/lib/init.coffee +++ b/lib/init.coffee @@ -25,14 +25,15 @@ module.exports = type: 'string' default: '' title: 'WORKON_HOME (virtualenvwrapper must be enabled)' - description: 'By default the WORKON_HOME variable will be obtained + description: "By default the WORKON_HOME variable will be obtained automatically. But, if this does not work, you can force the WORKON_HOME - here. + here.
+ Automatically detected WORKON_HOME: #{process.env.WORKON_HOME}
Example: $HOME/.virtualenvs;

- The $HOME variable points to the user home folder.' + The $HOME variable points to the user home folder." order: 3 additionalVirtualEnvPaths: