Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error initialisation warp_bootstrapped #4930

Open
1 task done
thukabjj opened this issue May 18, 2024 · 2 comments
Open
1 task done

Error initialisation warp_bootstrapped #4930

thukabjj opened this issue May 18, 2024 · 2 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@thukabjj
Copy link

thukabjj commented May 18, 2024

Dupe Check

Describe the bug

During the initialisation appear this message or command that I execute the error appear "warp_bootstrapped:7: bad pattern: [["

To reproduce

Open the app or execute any command

Expected behavior

this error should not appear

Screenshots

image image

No response

Operating system

MacOS

Operating system and version

MacOs Sonoma 14.5

Shell Version

5.9

Current Warp version

No response

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

No response

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.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@thukabjj thukabjj added the Bugs Bugs, Hangs, Crash, and Freezes label May 18, 2024
@dannyneira
Copy link
Member

My guess is that you normally have a custom prompt, theme, or bash/zsh/fish 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

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

@alokedesai
Copy link
Member

@thukabjj What shell are you using? ZSH or Bash?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

3 participants