powerlevel9k icon indicating copy to clipboard operation
powerlevel9k copied to clipboard

P9K crashes zsh when autocompleting ffmpeg

Open tippl opened this issue 5 years ago • 1 comments

Describe Your Issue

When i type ffmpeg and press tab a few times, zsh fully crashes and terminal emulator no longer responds to any keypresses. It has to be fully closed and reopened again.

2019-05-26_09-59-39

This is also accompained by weird cursor and screen flickers that were not there before.

Have you tried to debug or fix it?

I have tried to comment out most of my .zshrc, so my P9K settings, and any other zsh plugins, functions and aliases. This has stopped happening only after commenting out loading of P9K.

I did perform git bisect on this, and it seems to be caused by this commit: 4ccfd9dae5b34a053f8080ba8fc109d68ac611ca

And sure, after commenting out the lines that were added in this comit, the issue was fixed.

Environment Information

This information will help us understand your configuration.

  • What version of ZSH are you using? You can use zsh --version to see this. zsh 5.7.1 (x86_64-pc-linux-gnu)
  • Do you use a ZSH framework (e.g., Oh-My-ZSH, Antigen)? Oh-My-ZSH, Antigen
  • How did you install P9k (cloning the repo, by tarball, a package from your OS, etc.,)? Installed via Antigen
  • What version of P9k are you using? Lastest commit on the next branch. As of writing this issue, it is 2de4b99844bc9eacdb47a6f19cf8a7766fd96061
  • Which terminal emulator do you use? Yakuake

tippl avatar May 26 '19 08:05 tippl

FWIW, background_jobs segment works correctly in Powerlevel10k without trapping signals. Maybe give it a try?

romkatv avatar May 26 '19 08:05 romkatv