Skip to main content

TUI for chezmoi

Project description

cheznav

opentrend.dev reach PyPI - Version AUR - Version Homebrew PyPI - License GitHub Repo stars

Terminal Trove Tool of The Week

A TUI for chezmoi.

Dual-pane layout: local home directory on the left, chezmoi-managed files on the right. Cross-tree highlighting keeps selection in sync between panes.

Screenshot

Add, apply, diff, edit, forget, destroy, chattr, ignore — through context menus or direct keyboard shortcuts. Side-by-side diffs with accept left/right.

Supports encrypted files, templates, executables, symlinks, directories, externals, chezmoi config files, run scripts, and dry-run mode.

Install

pipx install cheznav

# or with Homebrew
brew install djetelina/tap/cheznav

# or from AUR
yay -S cheznav

Usage

cheznav            # normal
cheznav --dry-run  # pass -n to all chezmoi calls
cheznav --chezmoi-config ~/.config/chezmoi/work.toml  # use custom chezmoi config file
Controls

Navigation

Key Action
Left / Right Switch panes
Up / Down Move within tree
Space Expand / collapse directory
Enter Context menu (files), expand + context menu (directories)
: Command palette
? Help
q Quit
Tab Cycle focusable elements

Direct shortcuts (no menu needed)

Key Local pane Managed pane Diff view
a Add / Re-add Apply Accept left (keep disk)
e Edit local Edit source
d View diff View diff
i Ignore Ignore
x Forget Forget
r Accept right (use chezmoi)
v View file View file
Development
just init    # install pre-commit hooks + sync deps
just test    # run tests
just run     # run cheznav
just check   # run pre-commit on all files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cheznav-0.3.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cheznav-0.3.0-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file cheznav-0.3.0.tar.gz.

File metadata

  • Download URL: cheznav-0.3.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cheznav-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2c09aeca9719367d7fb8ac8e320dd2dde4e359631a6a63574a2fc8deedfe5362
MD5 e4bc9a19c5a5ef699ce9495ebf11c2b0
BLAKE2b-256 32f0df44f4cc1db5b9412c72d9c824b7a924d49c8762e3095d45bb9346b42181

See more details on using hashes here.

Provenance

The following attestation bundles were made for cheznav-0.3.0.tar.gz:

Publisher: python-publish.yml on djetelina/cheznav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cheznav-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cheznav-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cheznav-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3f3b653ce681e93a3de5eeb4060d56a2a998aa5b96129d83ca0a9e490783e02
MD5 f2e988196e75c0ba50eec9ef73dba1bd
BLAKE2b-256 7373bfec12e187e80d05d4856fd88bb25daf5da45ebd3b66e54e05044b53e298

See more details on using hashes here.

Provenance

The following attestation bundles were made for cheznav-0.3.0-py3-none-any.whl:

Publisher: python-publish.yml on djetelina/cheznav

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page