Skip to content

Feature request: --use-uv by default #4062

@jennydaman

Description

@jennydaman

Currently the command micromamba shell hook --use-uv ignores the --use-uv parameter. It would be cool if shell hook handles --use-uv by injecting --use-uv into the argv of every subsequent micromamba command.

I have a brittle workaround like this:

# ~/.zshrc
__micromamba_impl="$(functions micromamba)"
if [ "$?" = '0' ] && [ -n "$__micromamba_impl" ] && [[ "$__micromamba_impl" = *__mamba_wrap* ]]; then
  function micromamba () {
    __mamba_wrap --use-uv "$@"
  }
fi
unset __micromamba_impl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions