Warp
Warp copied to clipboard
Commands history get the command with unnecessary detailes
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
- Install the theme:
powerlevel9k
. - Use some commands.
- 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
The problem in the lasts commands
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
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!
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