mise bootstrap dotfiles track
- Usage:
mise bootstrap dotfiles track [FLAGS] <PATH>… - Effect: modifies state
- Source code:
src/cli/dotfiles/track.rs
Track a file or directory in place
Adds a [dotfiles] entry with mode = "track": the file stays where it is, nothing is copied or linked, and history saves a checkpoint of it right away. With the history watcher service running, later edits are saved automatically; without it, mise bootstrap dotfiles save saves them.
--os and --profile declare a variant: a separate shared stream for machines matching that platform or mise environment, so a Mac and a Linux box can share the same live path with different contents.
Arguments
<PATH>…— Paths to track (absolute or starting with ~/)
Flags
--os <OS>— Declare a variant for this platform (macos, linux, linux/arm64, …)--profile <PROFILE>— Declare a variant for this mise environment--no-autosave— Save only onmise bootstrap dotfiles save <path>, never automatically-y --yes— Accept without prompting-h --help— Print help
Examples:
mise bootstrap dotfiles track ~/.zshrc ~/.config/hypr
mise bootstrap dotfiles track ~/.zshrc --os macos
mise bootstrap dotfiles track ~/.config/app/state.json --no-autosave