Warp icon indicating copy to clipboard operation
Warp copied to clipboard

stuck at loading prompt...

Open omezro opened this issue 2 years ago • 4 comments

Discord username (optional)

No response

Describe the bug

use oh-my-zsh and spaceship to replace p10k, but when tab "vi" to open nvim with a dir, warp stuck with Loading prompt... like this image

To Reproduce

1 set oh-my-zsh spaceship and nvim 2 open a dir with nvim

Expected behavior

like this image

Screenshots

image

Operating System

MacOS

OS Version

12.6.3

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

v0.2023.04.04.08.03.stable_01

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

No, this same issue happens in Warp and other terminals.

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

None

omezro avatar Apr 07 '23 01:04 omezro

My guess is that you normally have a custom prompt, theme, or plugin and Warp is unable to parse it.

You can check whether it’s something in your dotfiles by setting up clean configs: Run echo 'ZDOTDIR=/' > ~/.zshenv This forces Zsh to run with zero configs.

You can disable parts of your dotfiles just for Warp by using this conditional statement:

# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
fi
# Fish
if test "$TERM_PROGRAM" != "WarpTerminal"
# > What you want to disable here <
end

We have a list of incompatible tools here: https://docs.warp.dev/help/known-issues#list-of-incompatible-tools And more info on custom prompts here: https://docs.warp.dev/features/prompt

dannyneira avatar Apr 07 '23 18:04 dannyneira

My guess is that you normally have a custom prompt, theme, or plugin and Warp is unable to parse it.

You can check whether it’s something in your dotfiles by setting up clean configs: Run echo 'ZDOTDIR=/' > ~/.zshenv This forces Zsh to run with zero configs.

You can disable parts of your dotfiles just for Warp by using this conditional statement:

# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
fi
# Fish
if test "$TERM_PROGRAM" != "WarpTerminal"
# > What you want to disable here <
end

We have a list of incompatible tools here: https://docs.warp.dev/help/known-issues#list-of-incompatible-tools And more info on custom prompts here: https://docs.warp.dev/features/prompt

This solved for me! Thanks.

kaanmertkoc avatar May 27 '23 22:05 kaanmertkoc

I'm using the default prompts and still facing this issue.

shabbir-ciklum avatar Jul 10 '24 06:07 shabbir-ciklum

image

shuoshubao avatar Aug 20 '24 07:08 shuoshubao

Still have this issue.

zhanglistar avatar Sep 09 '24 09:09 zhanglistar

Still have this issue. how can i disable the "loading prompt"

kaka19ace avatar Apr 17 '25 08:04 kaka19ace