mamba/libmamba/data
Klaim (Joël Lamotte) 651622b72d
windows shell init files use executable name (#3546)
* shell-init: Windows bat paths are factorized and depend on exe name (micromamba or mamba) except for mamba_hook.bat which for now needs to keep that name whatever the exe name;
* Fixed windows version detection: When more than one line of output appears at the start of cmd (because of AUTORUN), we parsed only the first line which failed the version detection. This version simply search every line instead of just the first one.
It also clarifies through more precise logs the exact reason why enabling long-paths actually failed.
* Improved error output for clarity on failure to create shell-init files (.bat) or directories.

---------

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
2024-10-21 17:31:18 +02:00
..
Mamba.psm1 Replace `[System.IO.Path]::GetFileNameWithoutExtension` with `-replace` (#3510) 2024-10-07 18:25:02 +02:00
_mamba_activate.bat Mamba 2.0 name fixes (#3225) 2024-03-14 16:01:05 +01:00
activate.bat windows shell init files use executable name (#3546) 2024-10-21 17:31:18 +02:00
bin2header.py Move to Ruff (#3011) 2023-11-27 19:10:34 +01:00
compile_pyc.py Use bin2header to create Micromamba inline scripts (#1601) 2022-03-30 20:46:52 +02:00
conda_exe.hpp Attempt to fix CI (#2637) 2023-06-29 08:29:37 +02:00
mamba.bat windows shell init files use executable name (#3546) 2024-10-21 17:31:18 +02:00
mamba.csh Mamba 2.0 name fixes (#3225) 2024-03-14 16:01:05 +01:00
mamba.fish maint: Clarify `env` subcommand documentation in help menu (cont'd) (#3539) 2024-10-15 18:30:24 +02:00
mamba.sh fix: Use POSIX-compliant scripts (#3522) 2024-10-15 18:30:46 +02:00
mamba.xsh Update mamba.xsh: support xonsh >= 0.18.0 (#3355) 2024-07-25 10:44:52 +02:00
mamba_completion.posix Fix micromamba shell completion when running 'shell hook' directly (#2137) 2023-01-02 17:22:35 +01:00
mamba_hook.bat windows shell init files use executable name (#3546) 2024-10-21 17:31:18 +02:00
mamba_hook.ps1 add tcsh testing 2022-10-13 16:24:20 +02:00