mise bootstrap dotfiles edit
- 用法:
mise bootstrap dotfiles edit [FLAGS] <TARGET> - 作用: 修改状态
- 源代码:
src/cli/dotfiles/edit.rs
编辑一个受管理的 dotfile 源文件。
参数
<TARGET>— 要编辑的目标
标志
--apply— 编辑器退出后应用此目标-m --mode <MODE>— 如果目标尚未受管理,要使用的 dotfile 模式-s --source <PATH>— 如果目标尚未受管理,要使用的源路径-y --yes— 添加未受管理的目标时跳过确认提示-h --help— 打印帮助
示例:
mise bootstrap dotfiles edit ~/.zshrc
mise bootstrap dotfiles edit --apply ~/.config/starship.toml