GithubHelp home page GithubHelp logo

Comments (4)

agkozak avatar agkozak commented on July 23, 2024 1

You're very kind.

from agkozak-zsh-prompt.

agkozak avatar agkozak commented on July 23, 2024

The simple answer is yes -- give me a couple of hours and I'll provide an option for restoring the legacy, one-line prompt, with the proviso that it may not always work perfectly in ZSH 5.5 and later.

ZSH 5.5 changes how the shell calculates cursor position when the prompt has wrapped. Apparently there are use cases that I have not run across myself that argue for overhauling this whole aspect of ZSH; what I do know is that in the rare cases that I'm in a directory with an unusually long name and my terminal is rather narrow, when the prompt wraps, the cursor lands on top of the prompt, causing all sorts of irritation. I've spent many hours trying to fix this problem, only to find that I actually don't mind a two-line prompt, which avoids this whole problem entirely.

I'll let you know when I've finished putting the single-line option back into the prompt.

from agkozak-zsh-prompt.

agkozak avatar agkozak commented on July 23, 2024

All right, the single-line prompt is an option again; just put

AGKOZAK_MULTILINE=0

before you source the theme in .zshrc.

Thanks again for your feedback!

from agkozak-zsh-prompt.

joeleisner avatar joeleisner commented on July 23, 2024

Thanks for the quick turn around; Much appreciated!

I definitely understand the choice to switch the theme to a multi-line prompt with the issues surrounding ZSH 5.5, but I have yet to run into those issues as of right now and I much prefer the single-line style.

Once again, thanks for the hard work; This is hands-down the best ZSH theme I've used to date!

from agkozak-zsh-prompt.

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.