mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-11-25 15:14:24 +03:00
* 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.