Git Product home page Git Product logo

Comments (2)

rafaelrinaldi avatar rafaelrinaldi commented on August 30, 2024

@pierrebeaucamp Thanks for your report. Would you be willing to provide a way to troubleshoot current behavior vs. expected? It's still unclear to me what the expectations are.

You can also submit a PR if you feel like it, I'm happy to provide support 👍

from pure.

pierrebeaucamp avatar pierrebeaucamp commented on August 30, 2024

Sorry for the late reply. I was actually not sure what the exact behavior was in zsh, so I had to go back and install it again.

Using zsh and pure, once the filepath grows longer / wider than the terminal window, it tries to shorted the filepath to make everything fit. For example, instead of displaying /home/pierrebeaucamp/code/foo/... it would display ~/code/foo/....

Interestingly enough, if it can't shorten the filepath, it just started displaying 'private' in the path:
screen shot 2017-04-04 at 13 46 03

In fish, it appears that fish ignores everything in fish_prompt as soon as it doesn't fit onto the screen anymore. This can be easily replicated if you go to a long filepath and then make your window really narrow. Alternatively, just create a super long path:
capture

I can look into creating a PR on the weekend.

from pure.

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.