Skip to content

Errors in the mamba.csh file created by mamba shell init #4060

@EvanFishbein

Description

@EvanFishbein

I believe there are two errors in the mamba.csh file created by micromamba shell init script when using csh shell.

line 45:
set __exe_name = (${__exe_name}:q.)
should read
set __exe_name = (${__exe_name:q})
The :q modifer does not work as written and the . has no purpose

line 51:
echo "Error unknow MAMBA_EXE: "$MAMBA_EXE", filename must be mamba or micromamba" >&2
should read
echo "Error unknown MAMBA_EXE: "\"$MAMBA_EXE\"", filename must be mamba or micromamba" >&2
The version of csh I use does not allow escaping a double quote inside a double quoted string. Also there is a missing "n" in unknown

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