Giter Site home page Giter Site logo

Comments (7)

michaeldfallen avatar michaeldfallen commented on July 20, 2024

This'll output a lot of stuff but can you run set -xv in your shell and post the output? I need to know which sed command is causing the issue. It's probably the render_prompt function but without more I can't say whats going on.

BTW, you'll want to run set +xv afterwards to deactivate the debug output.

from git-radar.

c5f avatar c5f commented on July 20, 2024

I didn't want to paste my entire shell output because it was all of the function sourcing for nvm/rvm/homebrew/completion/etc. The sed error above only appeared at the very end of the debug output from source ~/.bash_profile after everything else had run.

++ git-radar --bash --fetch
sed: 1: "s/%{\(\([^%^{^}]*\)\:\) ...": bad flag in substitute command: 't'

This only happens when I am on a branch with two / characters in the branch name, but my team namespaces feature branches, so that happens quite frequently.

0|repo  git:(𝘮 7 ⇄ 408 develop)🍉 git checkout -b feature/example
git checkout -b feature/example
+ hub checkout -b feature/example
Switched to a new branch 'feature/example'
git-radar --bash --fetch
++ git-radar --bash --fetch
0|repo  git:(upstream ⚡ feature/example)🍉 git checkout -b feature/somebody/test
git checkout -b feature/somebody/test
+ hub checkout -b feature/somebody/test
Switched to a new branch 'feature/somebody/test'
git-radar --bash --fetch
++ git-radar --bash --fetch
sed: 1: "s/%{\(\([^%^{^}]*\)\:\) ...": bad flag in substitute command: 't'
0|repo 🍉 git checkout feature/example
git checkout feature/example
+ hub checkout feature/example
Switched to branch 'feature/example'
git-radar --bash --fetch
++ git-radar --bash --fetch
0|repo  git:(upstream ⚡ feature/example)🍉

from git-radar.

c5f avatar c5f commented on July 20, 2024

I also realize this probably isn't what you asked for with set -xv, but this is all the output I get.

from git-radar.

jhunold avatar jhunold commented on July 20, 2024

Can you try #78 and see if this fixes the issue?

from git-radar.

c5f avatar c5f commented on July 20, 2024

@jhunold @michaeldfallen #78 solves my problemo thanks. 🎉🎊🐬🐳

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

Well that made it easy to merge #78 :-)

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

Closing.

from git-radar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.