mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
8263a06a85
The postinstall script was appending the fpath line at the end of .zshrc, but compinit (called earlier by oh-my-zsh or directly) would have already finished scanning. This caused zsh completion to silently fail for most users. Now the script detects the first compinit / oh-my-zsh source line and inserts the fpath entry before it, ensuring completion works immediately.
6.6 KiB
6.6 KiB