Lazychezmoi is a Ratatui app to manage your chezmoi dotfiles.
Heavily inspired by lazygit.
Warning
This project is in early development. Development is exclusively done on Linux. Features and designs decisions are still being made. See the Roadmap.
chezmoi status
with colour-coded file states- Coloured diff view
- Select/deselect files using
- Add/Re-add selected files to chezmoi source directory
- View detailed diff for each single file
- Shortcut to open chezmoi source directory (i.e.
chezmoi edit
) - Shortcut to edit a file in the chezmoi source (i.e.
chezmoi edit <file>
)
↑/k
: Navigate up↓/j
: Navigate downSpace
: Toggle file selectione
: Edit highlighted file in sourcea
: Add/re-add selected filesA
: Apply selected filesS
: Open chezmoi source directoryq/Esc
: Quit application
- chezmoi
rust
/cargo
(installation instructions)
git clone https://github.com/abiencourt/lazychezmoi.git
cd lazychezmoi
cargo run
- Implement 2 additional panes to see files selected "to re-add" and "to apply"
- Right now, if you select a mix of "re-add" and "apply" file, it might cause unwanted behaviour
- Add a "discard" keymapping that will present "local" and/or "source" changes option to discard
- Integration with
lazygit
to see source - Add
chezmoi git
commands
- Deploy to cargo registry
- Deploy to brew.sh
- Deploy to AUR
- Add automated testing
- Test on Windows and MacOS