<!-- @generated by usage-cli from usage spec -->
# `mise bootstrap dotfiles edit`

- **Usage:** `mise bootstrap dotfiles edit [FLAGS] <TARGET>`
- **Effect:** modifies state
- **Source code:** [`src/cli/dotfiles/edit.rs`](https://github.com/jdx/mise/blob/main/src/cli/dotfiles/edit.rs)

Edit a managed dotfile source

## Arguments
- **`<TARGET>`** — Target to edit

## Flags
- **`--apply`** — Apply this target after the editor exits
- **`-m --mode <MODE>`** — Dotfile mode to use if the target is not yet managed
- **`-s --source <PATH>`** — Source path to use if the target is not yet managed
- **`-y --yes`** — Skip the confirmation prompt when adding an unmanaged target
- **`-h --help`** — Print help

Examples:

```
mise bootstrap dotfiles edit ~/.zshrc
mise bootstrap dotfiles edit --apply ~/.config/starship.toml
```
