k-yokoishi / zsh-prompt-generator Goto Github PK
View Code? Open in Web Editor NEWZsh Prompt Generator
Home Page: https://zsh-prompt-generator.site/
License: MIT License
Zsh Prompt Generator
Home Page: https://zsh-prompt-generator.site/
License: MIT License
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!
It would be nice to be able to configure colors.
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.
It would be great if we can get the script and the GUI for changing colours of each part of the prompt text.
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!
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.
An option to add colors and bold/underline would be nice.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.