Open Syed-Wang opened 10 months ago
It might be the same thing as https://github.com/romkatv/powerlevel10k/issues/2480#issuecomment-1793676187
Please try that solution and let me know if it helps. If it does, it'll definitely need to change something in powerlevel10k to make this sort of thing automatic.
Thanks, the dots can display normally, but it does not solve the problem about Copilot prompts.
I've never used vscode copilot. Can you describe what exactly does not work?
copilot is an AI assistant, and the features I've described are provided by the GitHub Copilot Chat extension in vscode, which provides some suggestions via the vscode terminal.
I work in Ubuntu and use oh-my-zsh, copilot has no problem when using the built-in theme (I tried ZSH_THEME="random"). As you can see, when I click on the star, the suggestion is automatically given.
But with the powerlevel10k theme, there was no star button, so I couldn't use the GitHub Copilot Chat extension's quick suggestions for terminals. As shown in the figure.
Thanks for the info. I'll try to reproduce this.
Excuse me. Is there a solution to this situation?
I haven't done anything here yet. I'm not sure when I'll get around to it.
Same problem
See #2480 (comment)
Thanks, but it didn't work for me. Probably this is an issue with vscode.
I'm aware. It works with POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
for you, right?
I'm aware. It works with
POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
for you, right?
I added POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
to ~/.p10k.zsh, but I didn't see any different.
My powerlevel10k works perfectly expect missing the copilot hint button in the vscode terminal.
What is the output of the following command?
typeset -p _POWERLEVEL9K_TERM_SHELL_INTEGRATION
What is the output of the following command?
typeset -p _POWERLEVEL9K_TERM_SHELL_INTEGRATION
typeset -i _POWERLEVEL9K_TERM_SHELL_INTEGRATION=1
Thanks for the additional info. The comment you've quoted says that POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
is enough to work around the problem, but for you it isn't. That's useful to know.
Thanks for the additional info. The comment you've quoted says that
POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
is enough to work around the problem, but for you it isn't. That's useful to know.
It's not a big deal, PowerLevel10K is a lot better than other themes, and it would be perfect if this problem could be solved in the future😁