diff --git a/modules/virtual_environments/auto-venv/venv_helpers.nu b/modules/virtual_environments/auto-venv/venv_helpers.nu index 45bacc1d3..832a86d61 100644 --- a/modules/virtual_environments/auto-venv/venv_helpers.nu +++ b/modules/virtual_environments/auto-venv/venv_helpers.nu @@ -20,7 +20,7 @@ def get-env [ } export def venv-is-active [] { - '__auto_venv' in (overlay list) + '__auto_venv' in (overlay list | get name) } # Creates a virtual environment under the current directory