moarram / headline Goto Github PK
View Code? Open in Web Editor NEWResponsive ZSH theme featuring Git status information and a colored line above the prompt
License: MIT License
Responsive ZSH theme featuring Git status information and a colored line above the prompt
License: MIT License
First of all, thank you for this very great theme. I am a big fan.
I only have one problem with the setup.
I changed HEADLINE_USER_PREFIX="a "
(and analogously HOST, BRANCH and so on) but I don't see any change in my terminal.
Is there another setting I may need to change that I may have overlooked?
I had no problems with other adjustments.
Thanks already and thanks again for the great theme!
So my ligatures are not working correctly, I am using kitty terminal and have setup Fira Code. Some of the ligatures do work but I am not 100% sure why the rest of em don't work.
Is this due to my terminal? or did I like configure something wrong?
I am on MacOS Big Sur I don't think this changes anything but idk.
Hey! I've recreated this theme for oh-my-posh, will there be any problems if I keep it published? You can see everything on the headline-omp repository.
If you have any problems with this, please tell me and I will take care of them!
Hi, I really like this theme, but I work mainly with Python and it does not support virtualenvs. Also there is not documentation to add or swap variables.
Could you add an example to add or swap environment variables?
Thanks
Hey how can I make my iTerm2 look exactly like your first screenshot (light) theme?
Background and colors too.
https://raw.githubusercontent.com/moarram/headline/assets/images/zsh_theme_light.png
Solarized light doesn't seem to do the trick.
PROMPT='$(precmd_headline)
$ '
how can i fix it
When you're ready for this to be public, I'd like to add this to awesome-zsh-plugins. You can either PR it into the list yourself or comment on this issue and I'll do it.
One comment - the name is awfully generic. Please consider renaming it to something descriptive, or even just name it after your github username.
Thanks!
headline_precmd:4: command not found: hostname
Currently boolean variables are considered true if they are set to the string "true". This is because I find 0=true, 1=false to be immensely confusing. However, some people with more experience in shell scripting may find my method equally confusing, so I suggest allowing usage of the builtin true
and false
, potentially replacing the string approach entirely.
I'm open to suggestions and implementation recommendations.
At first, this is a very nice theme, thank you!
Is there a way to disable the host name in the info line?
Stumbled on this repo while websearching for documentation. Was not seeking for it. Looks like it's a wee baby theme just a few days old. I think you are onto something here, it's great!
Compared to powerline
and other zsh
themes this compares very favorably for my tastes. It does not skimp on displaying useful information, yet also copes well when squeezed into a narrow terminal window. Those are often mutually exclusive. I think the visual balance is fab too. The colors are enough to break it up so you can easily tell what's going on and it looks nice, but not so much that it's like shouting to get your attention. And lastly there is not an excess of whitespace, taking up my monitor with nothing and requiring excessive scrolling back to see what just happened. Also IMHO a lot of the whitespace-heavy themes can feel off kilter. I think this is solid and efficient.
But this is a text box for problems not compliments. So; back to business.
I strongly agree with the suggestion made in #1 the repo be renamed. When cloned, it creates a folder called zsh-theme
which is confusing and way less memorable than is deserved. I think the sooner you rename it, the better, because trying to rename things after they already popped off is a huge pain in the ass. Unless you plan to dominate all the others to become "The Theme". you do you.
Hello @Moarram,
I'm currently on Ubuntu 21.04
, using Kitty
and I installed Fira Code
font. However, I still don't see any icons on the line ...
I also tried FiraCode Nerd Font
and FiraCode Nerd Font Mono
but then the ligatures stop working and I have neither a complete line nor icons.
Do I need to enable something in a config file ? Because I don't see any icon related option in the theme file. I like this theme very much and with icons it would be perfect !
Please do not hesitate if you need more informations.
Axel
Im using with oh-my-zsh and I just need to change the .zshrc
file to load the theme.
I notice you have a good amount of customizations variable, but Its all defined directly in the code.
I'd suggest use something like expansion variables, this way it can read the value or use the defaults
Some other themes use it like here https://github.com/spaceship-prompt/spaceship-prompt/blob/master/spaceship.zsh#L89
Suggestion is
HEADLINE_DO_CLOCK="${HEADLINE_DO_CLOCK=false}"
When change the value in .zshrc
itself
ZSH_THEME="headline"
HEADLINE_DO_CLOCK="true"
So I just started using Victor Mono from the Nerd Fonts and was trying to use headline but the bar doesn't seem to wanna show up properly
As you can see in the screen shot some of the line seems to function whilst the majority doesn't want to work
I am running MacOS Big Sur with kitty terminal
These are the settings for my fonts:
Hey, first of all, congratulations on the theme, it is the best theme I ever found for terminal.
a) I opened this issue because it wasn't clear to me how to set icons, I am using FiraCode as my font, but I don't know how to set the symbols, should I download any? I went to the Nerd Fonts page you linked to, but I didn't understand what should I do from there. Could you explain how to set symbols step-by-step? I really like the symbols you used in your example, it could be those.
b) Is there a way to hide the user and host from the theme, displaying only the path and git?
c) From what I understood, the colors of the theme can be changed using ANSI SGR codes, could you explain how to do it?
Thank you very much for the attention.
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.