카테고리 없음

커서의 chat 에서 명령어를 실행시켰는데 반응이 없는 경우 (hang이 걸린 경우)

g0n1 2025. 6. 22. 20:58
728x90

문제

이렇게 제안된 명령어를 실행시켰을 때, 에이전트가 명령어 실행이 완료된 것을 모르고 계속 기다리는 경우가 있다.

다음으로 넘어가기 위해 stop을 누르면....

맘에 안 들어서 reject 한 줄 알고 다른 명령어를 실행시키려고 한다.

 

원인

oh-my-zsh + p10k를 사용하는 경우, 공통적으로 발생하는 것으로 보인다.

 

해결책

jinkim0823이라는 유저가 남긴 솔루션인데, 나의 경우에는 잘 해결되었다.

zsh config파일 (.zshrc)을 편집해서 제안된 방법으로 해결하였다.

역시 고수가 많다.

유저네임으로 유추하기에 한국분이신 것 같은데, jinkim0823님 감사합니다.

(*이 글이 저 멋진 솔루션으로 가는 인덱스의 역할만 하기를 바라서 내용은 직접 가셔서 확인해주세요.)

https://forum.cursor.com/t/cursor-agent-terminal-doesn-t-work-well-with-powerlevel10k-oh-my-zsh/96808/12

 

Cursor Agent Terminal Doesn’t Work Well with Powerlevel10k + Oh-My-Zsh

Here’s a cleaner solution that keeps Powerlevel10k while fixing Cursor Agent detection. Step 1: Download shell integration curl -L https://iterm2.com/shell_integration/zsh -o ~/.iterm2_shell_integration.zsh Step 2: Add to ~/.zshrc (only activates in Curs

forum.cursor.com

 

 

728x90