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

p10k doesn't work at all #5321

Open
1 task done
rv-nath opened this issue Sep 20, 2024 · 7 comments
Open
1 task done

p10k doesn't work at all #5321

rv-nath opened this issue Sep 20, 2024 · 7 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@rv-nath
Copy link

rv-nath commented Sep 20, 2024

Dupe Check

Describe the bug

After I run p10k configure and go through its prompts successfully, nothing changes !

To reproduce

  1. Run p10k configure
  2. Follow through the instructions and create a configuration.

Expected behavior

The prompt should look something similar to the screenshots attached in the screenshots section.

Screenshots

A properly working graphical prompt on a kde konsole terminal.
image

Prompt in warp terminal
image

Operating system

Linux

Operating system and version

Ubuntu 22.04.4 LTS

Shell Version

zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

Current Warp version

v0.2024.09.17.08.02.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

I have seen other issues in this repository that mention p10k. I realize that at least other ppl were able to see something. In my case nothing works.

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@rv-nath rv-nath added the Bugs Bugs, Hangs, Crash, and Freezes label Sep 20, 2024
@rv-nath
Copy link
Author

rv-nath commented Sep 20, 2024

This is immediately after running p10k configure. Configuration happens successfully and it creates the configuration file but doesn't display prompts.

image

@rv-nath
Copy link
Author

rv-nath commented Sep 20, 2024

Just to confirm:

  • I have a few nerd fonts installed.
  • While configuring p10k I can see the prompt how it is going to come up.

image

@rv-nath
Copy link
Author

rv-nath commented Sep 20, 2024

One important observation. From the warp terminal which is already a zsh, if I enter into a subshell by typing zsh then the p10k icons do show up.

image

@alokedesai
Copy link
Member

@rv-nath if you right click the prompt, hit "edit prompt", and then select "Shell Prompt", what do you see?
image

@rv-nath
Copy link
Author

rv-nath commented Sep 21, 2024

Hi Aloke,
I see a string like hp%
image

@alokedesai
Copy link
Member

alokedesai commented Sep 23, 2024

Just to confirm: If you select "Save Changes" there, you still don't see p10 appear?

Are you using the same shell in both Warp and other terminals?

@dannyneira
Copy link
Member

dannyneira commented Sep 25, 2024

Hey @rv-nath I'd also check your ~/.zshrc file and make sure it has the p10k source line.

## Powerlevel10k ; To customize prompt, run p10k configure or edit ~/.p10k.zsh
source ~/powerlevel10k/powerlevel10k.zsh-theme

Also, run echo $SHELL on warp to check which shell is being used, it should say the same as the result of which zsh, if not then you can set that up in your Settings > Features > Sessions > Startup shell for new sessions > Custom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

3 participants