Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Commands history get the command with unnecessary detailes

Open eidan66 opened this issue 2 years ago • 1 comments

Discord username (optional)

idan#7367

Describe the bug

When we use the last commit feature, we can see extra details that are added to the last commit (from the theme: powerlevel9k).

To Reproduce

  1. Install the theme: powerlevel9k.
  2. Use some commands.
  3. Try to use the last command and you will see in the history the commands with the extra non-relevant details.

Expected behaviour

To see only the command without powerlevel9k theme details.

Screenshots

The terminal block

image

The problem in the lasts commands

Screen Shot 2022-08-11 at 10 49 03

Operating System

MacOS

OS Version

12.5

Shell Version

zsh 5.8.1

Warp Version

v0.2022.08.08.09.21.stable_00

Additional context

No response

Does this block you from using Warp daily?

Yes

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

eidan66 avatar Aug 11 '22 08:08 eidan66

Hey! This is a known issue. As of now, powerlevel is not compatible with Warp.

You can conditionally turn it off for Warp by following the steps from the doc https://docs.warp.dev/help/known-issues#debugging

Sorry for the inconvenience!

gagata avatar Aug 11 '22 08:08 gagata

Specifically this section. You want to move P10K and P9K to behind the conditional so it's disabled just for Warp.

Bash and Zsh

if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then

WHAT YOU WANT TO DISABLE FOR WARP - BELOW
# POWERLEVEL10K
WHAT YOU WANT TO DISABLE FOR WARP - ABOVE

fi

elviskahoro avatar Aug 14 '22 05:08 elviskahoro