nu_scripts icon indicating copy to clipboard operation
nu_scripts copied to clipboard

cd doesn't change current directory prompt after execute conda activate...

Open WindSoilder opened this issue 2 years ago • 1 comments

Relative script: https://github.com/nushell/nu_scripts/tree/main/virtual_environments

Screen Shot 2022-04-20 at 11 09 35

Nu shell version: 0.61.0

WindSoilder avatar Apr 20 '22 03:04 WindSoilder

Seems like a bug in conda.nu. I wrote it according to Python's virtualenv activation script which reportedly follows the prompt correctly.

As a workaround, you can pass the --no-prompt flag and use the CONDA_PROMPT_MODIFIER to create your own prompt.

kubouch avatar Apr 20 '22 17:04 kubouch