Open NITHESH2303 opened 2 months ago
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.
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).
@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
Apology for my delayed response, Seems I missed some important emails, Here I have attached my bashrc, hope it helps, If you need further information, please let me know, Happy fixing.
case $- in i) ;; *) return;; esac
export OSH='/Users/nithesh-pt7363/.oh-my-bash'
OSH_THEME="luan"
COMPLETION_WAITING_DOTS="true"
OMB_USE_SUDO=true
OMB_PROMPT_SHOW_PYTHON_VENV=true # enable
completions=( git composer ssh )
aliases=( general )
plugins=( git bashmarks )
source "$OSH"/oh-my-bash.sh
alias
.#
if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi
fcd() { local dir dir=$(find ${1:-.} -type d 2>/dev/null | fzf +m) && cd "$dir" }
_fcd() { local dirs dirs=$(find "${1:-.}" -type d 2>/dev/null) COMPREPLY=($(compgen -W "${dirs}" -- "${COMP_WORDS[COMP_CWORD]}")) } complete -o default -F _fcd fcd
Thanks & Regards Nithesh Kanna S
On Fri, May 24, 2024 at 4:07 AM Danny Neira @.***> wrote:
@NITHESH2303 https://github.com/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. https://docs.warp.dev/features/prompt#custom-prompt-compatibility-table
You can disable parts of your dotfiles just for Warp by using this conditional statement:
Bash and Zshif [[ $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
— Reply to this email directly, view it on GitHub https://github.com/warpdotdev/Warp/issues/4883#issuecomment-2128148011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPTC36IBAHET47N6W7KCX3ZDZVQ7AVCNFSM6AAAAABHKIWS7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYGE2DQMBRGE . You are receiving this because you were mentioned.Message ID: @.***>
Dupe Check
Describe the bug
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
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