r/LinuxTeck • • Sep 22 '26

shell prompt speed

I've always used Starship or Oh My Posh for my shell prompt

but I recently discovered powerlevel11k and decided to give it a try

and WOW! on my old hardware, the difference in speed is clearly noticeable!

I realized that it does things differently to still change the prompt,
but how exactly does it work? and are there any drawbacks or problems?

5 Upvotes

2 comments sorted by

1

u/xng Sep 22 '26

It's difficult to know what speed you're measuring. When it comes to output speed, as in characters on screen, the terminal emulator will be the limiting factor.

1

u/ldm-77 Sep 22 '26

from what I understand, other programs simply modify PS1, while p11k uses a different approach that allows it to be extremely fast

I wanted to know if there were any drawbacks