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

Oh my bash and Warps Prompt are shown simultaneously #4883

Open
1 task done
NITHESH2303 opened this issue May 7, 2024 · 3 comments
Open
1 task done

Oh my bash and Warps Prompt are shown simultaneously #4883

NITHESH2303 opened this issue May 7, 2024 · 3 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@NITHESH2303
Copy link

Dupe Check

Describe the bug

image

Both prompts oh my bash and warps prompt are shown even If I turn of warps prompt this does not work, I don't want to remove oh my bash prompt, which I need in terminal

To reproduce

Install Oh my bash and open bash and make default terminal as bash

Expected behavior

Only one prompt must be shown each time

Screenshots

image

Operating system

MacOS

Operating system and version

Sonoma 14.4.1

Shell Version

bash

Current Warp version

v0.2024.04.30.08.02.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

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

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

dannyneira commented May 7, 2024

Hi @NITHESH2303 thanks for letting us know. Although oh-my-bash isn't specifically supported, it seems to be working on my end with a default install. I noticed the default configuration includes the time user and pwd, similar to your screenshot.

CleanShot 2024-05-07 at 14 25 19

I know in oh-my-zsh certain themes may cause issues, so it may be a similar case for oh-my-bash. If the issue persists, as a workaround please try one of our supported prompts and please share your ~/.bashrc and/or oh-my-bash configuration files so that we can try and reproduce this (please make sure to remove any important information you may have on there like IP, Keys, etc. if any).

@dannyneira
Copy link
Member

@NITHESH2303 any luck with the above? 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 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

@NITHESH2303
Copy link
Author

NITHESH2303 commented May 24, 2024 via email

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

2 participants