powerlevel10k icon indicating copy to clipboard operation
powerlevel10k copied to clipboard

[BUG] - prompt not showing due to terraform plugin

Open juanmatias opened this issue 11 months ago • 15 comments

Randomly prompt is not shown with zsh+ohmyzsh+powerlevel10k

What?

I'm using zsh+ohmyzsh+powerlevel10k on a Manjaro.

The problem is that from time to time shell doesn't show the prompt. This is fixed after a couple of restarts. Other shells start well.

Possible cause

If I remove the Terraform plugin from powerlevel10k it starts.

I'm removing it from .p10k.zsh from POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS variable.

Request for help

I am not sure how to dig into this to find the root cause. Could you guide me on how to debug this so I can find a fix?

Workaround

For now I have it deactivated.

Other info

❯ uname -a
Linux tufmanjaro 5.15.148-2-MANJARO #1 SMP PREEMPT Sat Feb 10 11:45:52 UTC 2024 x86_64 GNU/Linux

I have installed these packages:

  • extra/zsh 5.9-4
  • aur/zsh-theme-powerlevel10k-git r3918.25e5f59-1

juanmatias avatar Mar 11 '24 14:03 juanmatias