cmux/Resources/shell-integration
BillionClaw 5776cd5d81
fix: remove blocking sleep from preexec hook causing command lag (#1444)
When socket connection mode is not 'off', the shell integration runs
_cmux_stop_pr_poll_loop in the preexec hook before every command.
This function had a blocking 'sleep 0.1' call that caused noticeable
lag on every command execution.

The fix replaces the TERM+sleep+KILL pattern with direct SIGKILL.
The PR poll loop is a lightweight background process that only runs
'gh pr view' periodically - it's safe to kill abruptly without
waiting for graceful termination.

Fixes #1436

Co-authored-by: BillionClaw <267901332+BillionClaw@users.noreply.github.com>
2026-03-15 16:11:07 -07:00
..
.zlogin Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
.zprofile Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
.zshenv Fix Pure prompt duplication in Ghostty zsh integration (#1316) 2026-03-13 02:39:12 -07:00
.zshrc Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
cmux-bash-integration.bash fix: remove blocking sleep from preexec hook causing command lag (#1444) 2026-03-15 16:11:07 -07:00
cmux-zsh-integration.zsh fix: remove blocking sleep from preexec hook causing command lag (#1444) 2026-03-15 16:11:07 -07:00