Giter Site home page Giter Site logo

Comments (3)

jeka avatar jeka commented on May 19, 2024

Since nowadays it's quite easy to do checks across Linux distributions I spent some time on that.
All the checks are done with distrobox:

  • spawn new container with empty user home dir.
  • install zsh
  • install starship
  • activate starship
    The result:
    Ubuntu 22.04 - exhibits the problem described above
    Ubuntu 23.10 - exhibits the problem described above
    RHEL 9 - broken (actually its broken in the same way even before activating starship)
    Fedora 38 - exhibits the problem described above
    Fedora 39 - exhibits the problem described above
    OpenSUSE Leap - exhibits the problem described above
    I stopped here.

Also, I checked starship versions back to version v1.16.0 with the same outcome.
I hope this helps.

from starship.

jeka avatar jeka commented on May 19, 2024

Further info,
I tacked it down to a problem with the 'character' prompt plugin/module(?).
It's broken if UTF-8 character is used as $symbol.
If I replace the fancy '❯' with ASCII '>' the problem goes away.

Strangely enough, it's broken only under ZSH, I tried BASH and FISH and the problem does not show under these shells.

from starship.

jeka avatar jeka commented on May 19, 2024

Sorry for the noise.

The problem was with my local config.
My locale (LC_xxx) variables got messed up at some point of time (set to non-UTF locale).

Setting them properly fixed the problem.

from starship.

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.