mise en
- 用法:
mise en [-s --shell <SHELL>] [DIR] - 源代码:
src/cli/en.rs
Start a subshell with mise's tools and environment
This is an alternative to mise activate for starting a mise session explicitly. The new shell has the tools and environment variables from the config loaded. Unlike an activated shell, changing directories does not update the environment. Type exit to leave it.
参数
[DIR]— 启动 shell 的目录默认值:
.
Flags
-s --shell <SHELL>— Shell to start; defaults to $SHELL-h --help— Print help
示例
Start a shell with the project's tools and environment
mise enStart the shell in another project
mise en ~/work/apiSkip loading .bashrc
mise en -s "bash --norc"Skip loading .zshrc
mise en -s "zsh -f"