GNU/Linux ◆ xterm-256color ◆ zsh 6412 views

Powerline Status ZSH and Powerlevel10k are two similar ZSH themes. This screencast starts with Powerline and then switches to Powerlevel10k to compare performance.

  • Powerline Status ZSH config:
    {
      "default_module": "powerline.segments.common",
      "segments": {
        "right": [],
        "left": [
          { "function": "powerline.segments.common.env.user" },
          { "function": "powerline.segments.shell.cwd" },
          { "function": "powerline_gitstatus.gitstatus" }
        ]
      }
    }
    
  • Powerlevel10k config:
    POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(user dir vcs)
    POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
    typeset POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED}_MAX_NUM=99
    
  • Current directory: chromium.
  • Machine: Intel i9-7900X running Ubuntu 18.04.

Prompt latency measured with zsh-prompt-benchmark:

  • Powerline Status ZSH: 385 ms.
  • Powerlevel10k: 47 ms (8 times faster).

More by romka

Instant ZSH Startup 01:11

by romka

No Turbo 00:11

by romka

Spaceship vs Powerlevel10k 00:37

by romka

See all