Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicating PROMPT_CHAR with Transient Prompt #2719

Open
TicTak21 opened this issue Jul 2, 2024 · 1 comment
Open

Duplicating PROMPT_CHAR with Transient Prompt #2719

TicTak21 opened this issue Jul 2, 2024 · 1 comment

Comments

@TicTak21
Copy link

TicTak21 commented Jul 2, 2024

Hello.
First of all, I want to thank you for this project and its maintenance. I migrated from Spaceship, and I really like p10k.

About my problem: I'm using a string (kaomoji) as a PROMPT_CHAR:

typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='¯\_(ツ)_/¯' 

It works fine except when it comes to the transient prompt. For some reason, it adds extra _/¯).
Screenshot 2024-07-02 at 12 43 27

  • Yes, I tried disabling the transient prompt: POWERLEVEL9K_TRANSIENT_PROMPT=off for test purposes.
  • Yes, if I use the default prompt character, I don't see any extra symbols.

Here is my full config: https://pastebin.com/6suPcUn7

@romkatv
Copy link
Owner

romkatv commented Jul 17, 2024

I've reproduced this. Definitely looks like a bug in powerlevel10k.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants