Open bestickley opened 2 years ago
I have the same problem
Thanks for reporting! It's likely something in your dotfiles regarding prompt or a OMZ plugin. Can you try the steps in these docs: https://docs.warp.dev/help/known-issues#configuring-and-debugging-your-rc-files
@elviskahoro, I'm no longer using warp, but I'll leave open for @guotingchaopr.
Do you normally use ZSH-Syntax?
I'm getting this in Fish.
franciscolourenco/done
which normally does notifications after long process when the shell does not have focus, as well as all other fish plugins.In my config.fish
:
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
##### WHAT YOU WANT TO DISABLE FOR WARP - BELOW
### STARSHIP PROMPT
### https://github.com/starship/starship
starship init fish | source
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
# tabtab source for packages
# uninstall by removing these lines
[ -f ~/.config/tabtab/fish/__tabtab.fish ]; and . ~/.config/tabtab/fish/__tabtab.fish; or true
##### WHAT YOU WANT TO DISABLE FOR WARP - ABOVE
fi
weirdly, I get the notification and new prompt for sleep 4 && echo done
(and other sleep values less than 4) - but but the hanging behavior for sleep 5 && echo done
(and other sleep values higher than 5)!
So it only works with tasks that are less than 5 seconds?
I've updated to v0.2022.10.04.08.05.stable_00
and still see the problem. It seems to only work correctly if the task running takes 4 seconds or less to complete.
Still broken in v0.2022.10.11.08.13.stable_01
.
weirdly, I get the notification and new prompt for sleep 4 && echo done (and other sleep values less than 4) - but but the hanging behavior for sleep 5 && echo done (and other sleep values higher than 5)!
Same here. If the warp is not in focus, I get not new prompt, if the commands runs for 5+ second.
I also just started using warp and have this same issue. I am using Starship as my prompt, but on long running commands, the prompt never returns when the command terminates.
Same here, I'm using zsh with oh-my-zsh and powerlevel10k
same here, using fish.
hey @dannyneira, are you guys aware of this issue? thanks!
@rafagan p10k is not currently supported, along with some oh-my-zsh plugins. 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
Discord username (optional)
No response
Describe the bug
To Reproduce
Steps to reproduce:
Expected behaviour
Screenshots
Before CTRL+C:
After CTRL+C twice:
Operating System
MacOS
OS Version
12.3.1
Shell Version
zsh 5.8 (x86_64-apple-darwin21.0)
Warp Version
v0.2022.06.20.09.15.stable_02
Additional context
No response
Warp Internal (ignore): linear-label:24888f54-df93-45d5-9bdd-e38f740cac19
No response