Closed mandel-macaque closed 2 years ago
Looks like the issue comes from the oh-my-zs.sh which can be found here.
@mandel-macaque We're not compatible with some Oh-My-Zsh plugins, particularly themes. We have a GitHub discussion for Custom Prompts:
For now though, the easiest way is to get up and running is to put theme and plugin related lines behind a flag, that disables them for Warp specifically:
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
##### WHAT YOU WANT TO DISABLE FOR WARP - BELOW
# POWERLEVEL10K
# OH-MY-ZSH-THEMES
# OH-MY-ZSH-PLUGINS
# FIG
# BIND keys like:
# bindkey "^j" down-line-or-beginning-search
# [[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] &&
# . "/usr/local/etc/profile.d/bash_completion.sh"
# eval "$(rbenv init -)"
##### WHAT YOU WANT TO DISABLE FOR WARP - ABOVE
fi
@elviskahoro I did fin that the following line was the culprit:
# gives problems with wrap
#POWERLEVEL9K_PROMPT_ON_NEWLINE=true
which makes sense due to the error.
Gonna close this since the conversation around this is in the link I shared. Please share thoughts there!
@mandel-macaque Thanks for sharing! I'm actually compiling a list of incompatible lines. This helps a lot.
Describe the bug
To Reproduce
Steps to reproduce:
Expected behaviour
Screenshots
iTerm 2 looks:
Kitty:
Warp:
Operating System
MacOS
OS Version
11.6.1 (20G224)
Additional context
No response