diff options
-rw-r--r-- | src/lib/core/conda.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/core/conda.c b/src/lib/core/conda.c index 48ed6c4..adbc4c9 100644 --- a/src/lib/core/conda.c +++ b/src/lib/core/conda.c @@ -282,7 +282,9 @@ int conda_activate(const char *root, const char *env_name) { snprintf(command, sizeof(command) - 1, "set -a\n" "source %s\n" - "function __conda_exe (\n\t\"$CONDA_PYTHON_EXE\" \"$CONDA_EXE\" $_CE_M $_CE_CONDA \"$@\"\n)\n" + "__conda_exe() (\n" + " \"$CONDA_PYTHON_EXE\" \"$CONDA_EXE\" $_CE_M $_CE_CONDA \"$@\"\n" + ")\n\n" "source %s\n" "%s\n" "conda activate %s 1>&2\n" |