Files
oh-my-zsh/lib
Morningstar202604 109270911c feat(cli): add omz diagnose locale check (#14140)
* feat(core): add `omz diagnose` locale check

Reports whether the runtime locale is UTF-8, using the CODESET parameter
of the zsh/langinfo module that lib/functions.zsh already loads at startup,
with a `locale charmap` fallback when the module is unavailable. Non-UTF-8
charsets cause completion glitches such as duplicated characters at the
prompt.

This replaces the startup warning proposed in the earlier iteration: per
maintainer feedback the check belongs in `omz diagnose` so that no shell
startup cost is paid and it only surfaces when the user is already
debugging their setup.

I used AI to draft and rework this change.

* docs: document omz diagnose in README

Add a Diagnostics section below the update instructions describing
`omz diagnose` and pointing at `omz_diagnostic_dump` for full reports.

I used AI to draft this change.
2026-11-24 11:28:01 -08:00
..
2025-07-21 18:39:25 +02:00
2024-11-21 09:01:48 +01:00
2022-01-03 13:50:50 +01:00