Git Product home page Git Product logo

zsh-prompt-generator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zsh-prompt-generator's Issues

Not an issue, just want to say thank you

You can close this issue as soon as you read it.

This is EXACTLY what I was looking for after upgrading to macOS Catalina and my old bash prompt didn't worked anymore and not wanting to learn yet another encoding thing to have a nice terminal.

Cheers!

Attempting to mimc the plan9 prompt just results in no"%" in "term%"

Describe the bug
attempting to emulate the default plan9 prompt using this tool will just make zsh show "Term", a work-around is manually editing the zshrc file to include a "%%" so that it shows "Term%"
To Reproduce
Steps to reproduce the behavior:
1- type in custom text:"Term%"
2- insert that into the user zshrc file

Expected behavior
The prompt shows "Term%"
Screenshots
none needed i think.

Ect.
This also affects the ")" character after checking out the man page of zsh.

Add newline option "$'\n'"

Is your feature request related to a problem? Please describe.
It would be great if there were an option for adding a newline to your $PROMPT, as when I've tried to add it using custom text, it doesn't work.

Describe the solution you'd like
A button that adds the text "$'\n'" to split your $PROMPT across lines. This is how the Parrot Sec project does it for their .zshrc file in their /etc/skel directory:

PROMPT="%F{red}┌[%f%F{cyan}%m%f%F{red}]─[%f%F{yellow}%D{%H:%M-%d/%m}%f%F{red}]─[%f%F{magenta}%d%f%F{red}]%f"$'\n'"%F{red}└╼%f%F{green}$USER%f%F{yellow}$%f"

Describe alternatives you've considered
I don't think there are any other alternatives to do this, but let me know if someone has a better way to do it!

Add git info options

It'd be great to add options to include git info like current branch or maybe tag or commit hash prefix if none of the above are existant and also a good fallback to empty if you're not in a git repo.

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.