extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

Incompatibilities with oh-my-zsh powerlevel4k theme

Open aral opened this issue 5 years ago • 4 comments

First off, wow! This is amazing.

A couple of issues I encountered with the powerlevel10k theme:

Only first frame is drawn.

Subsequent command output is not framed.

Frame truncates output after clear

Screenshot from 2020-10-11 16-42-55

clear followed by ls has its output vertically truncated.

Note: my powerlevel10k setings are:

# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
  source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi

ZSH_THEME="powerlevel10k/powerlevel10k"

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
 [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

System details

  • OS: Pop!_OS 20.04 LTS x86_64
  • GNOME Shell 3.36.4
  • Kernel: 5.4.0-7642-generic
  • Shell: zsh 5.8
  • DE: Unity
  • WM: Mutter
  • WM Theme: Adwaita
  • Theme: Pop-dark [GTK2/3
  • CPU: Intel i7-8550U (8) @ 4.000GHz
  • GPU: Intel UHD Graphics 620
  • Memory: 6305MiB / 15720MiB

aral avatar Oct 11 '20 15:10 aral

Closing this as the issues were either a configuration error on my part or a GNOME issue or an oh-my-zsh powerlevel4k incompatibility. I’ll open a separate issue for the reset issue (which I can consistently recreate under zsh, regarldess of oh-my-zsh, theme, etc.) And if compatibility with powerlevel4k is seen as important, happy to open a separate issue for that also.

aral avatar Oct 14 '20 13:10 aral

Actually, reopening. Limited this issue to the oh-my-zsh powerlevel4k theme incompatibilities. Please feel free to close if not a priority (I fully understand) :)

aral avatar Oct 14 '20 13:10 aral

Thanks for breaking this up. It makes it much easier to track.

sedwards2009 avatar Oct 14 '20 18:10 sedwards2009

Sure, no worries; opened the initial issue as a catch-all as I was playing with it so I wouldn’t miss anything :)

aral avatar Oct 15 '20 10:10 aral