-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
The shell integration for tea -package and dev are breaking my prompt. I am using a prompt library called Starship in ZSH to display a custom prompt. In some cases is seems the tea prompt gets appended on the line before my PS1. In other cases it's blowing away PS1 all together (see screen grabs below where PS1 becomes blank).
My thought is that maybe tea shouldn't be messing with the prompt because it would be hard to predict all the different ways installed plugins might be using it. Starship also already has functionality to show current version of node, etc. in your prompt.
However, I imagine the proper (and neat 🤩) way to implement this would be creating a Starship module for tea, or other prompt plugins out there. Then users could enable the tea module in favor of using the existing modules for node, etc.
Tea version: 1.0.0-alpha.4
After running tea -node my PS1 gets overwritten and and now promptless:

After running dev and then cd .. my PS1 gets overwritten and and now promptless again:
