1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +00:00

fix merge doesnt support block input (#318)

This commit is contained in:
WindSoilder 2022-11-28 20:16:23 +08:00 committed by GitHub
parent e2d8f736d4
commit 8aec0bcc57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ export def-env activate [
CONDA_PROMPT_MODIFIER: $virtual_prompt CONDA_PROMPT_MODIFIER: $virtual_prompt
CONDA_SHLVL: "1" CONDA_SHLVL: "1"
CONDA_OLD_PATH: $old_path CONDA_OLD_PATH: $old_path
} | merge { $new_path }) } | merge $new_path)
let new_env = if not $no_prompt { let new_env = if not $no_prompt {
let old_prompt_command = if (has-env CONDA_OLD_PROMPT_COMMAND) { let old_prompt_command = if (has-env CONDA_OLD_PROMPT_COMMAND) {