mamba-org / mamba

The Fast Cross-Platform Package Manager

Home Page:https://mamba.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Q/Bug] How do I install the shell init changes to a custom file?

NightMachinery opened this issue · comments

I need to add the config file to a custom dotfile, as the standard ones will be overwritten by my provisioning system.

I thought --rc-file might do this, but it doesn't:

micromamba shell init --shell zsh --rc-file ~/.privateShell

You can simply add eval "$(micromamba shell hook --shell zsh)" to your file, replacing zsh with the correct shell you are using.