zsh-users/zsh-syntax-highlighting ? reverse-engineered prompt
Reverse engineered prompt
Build me a Zsh plugin that gives me Fish style syntax highlighting while I type commands in the terminal.
I want it to make mistakes obvious before I press enter, like showing valid commands, strings, arguments, pipes, and broken syntax in different colors. It should work as something I can source in my .zshrc, and it should play nicely with normal Zsh editing and history search. If there are any setup steps or limitations for older Zsh versions, please include clear install notes and a simple way to turn it on.
Please make it feel like a real reusable shell plugin, with sensible defaults, good docs, and a few tests if that makes sense. If you need to check current Zsh hook behavior or best practices, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit