From 934c99809abb220186989f882854fa02b8a9ab09 Mon Sep 17 00:00:00 2001 From: yage Date: Mon, 10 Jan 2022 07:08:28 -0700 Subject: [PATCH] [bugfix] : virtual env was not generating correctly --- activator.plugin.zsh | 2 +- zsh/env-setup.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activator.plugin.zsh b/activator.plugin.zsh index 05ed654..cd7d27f 100644 --- a/activator.plugin.zsh +++ b/activator.plugin.zsh @@ -5,7 +5,7 @@ # # ################################################################### -_CA__VERSION=1.0.0 +_CA__VERSION=1.0.1 _CA__DEPENDENCIES=(code-activator fzf jq git) ##################################################################### diff --git a/zsh/env-setup.zsh b/zsh/env-setup.zsh index 20a56ac..6918ebe 100644 --- a/zsh/env-setup.zsh +++ b/zsh/env-setup.zsh @@ -40,7 +40,7 @@ _CA__SELECT_VIRTUAL_ENV() { _CA__INIT_VIRTUAL_ENV() { local PROJECT_PATH="$1" local ENV_VERSION="$2" - local ENV_PATH="$PROJECT_PATH/$_CA__VIRTUAL_ENV_NAME" + local ENV_PATH="$PROJECT_PATH/$CA__VIRTUAL_ENV" [[ $ENV_VERSION =~ ^[0-9] ]]\ && _CA__INIT_NODE_ENV $ENV_PATH $ENV_VERSION \