mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-23 17:09:01 +08:00
The issue is that Ghostty shell-integration tries to parse PS1. How we're defining it now, the precmd function from Ghostty does not properly read the newlines, resulting in broken prompts. This doesn't happen if: - Zsh is reloaded (`omz reload` or `exec zsh`) - Ghostty shell integration is disabled (`shell-integration = none` in config) This fix just removes the newlines, and it's enough to fix the integration.
4.1 KiB
4.1 KiB