GithubHelp home page GithubHelp logo

moarram / headline Goto Github PK

View Code? Open in Web Editor NEW
240.0 240.0 21.0 1.88 MB

Responsive ZSH theme featuring Git status information and a colored line above the prompt

License: MIT License

Shell 100.00%
prompt theme zsh

headline'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  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  avatar  avatar  avatar  avatar  avatar

headline's Issues

Change to `HEADLINE_โ€ฆ_PREFIX='a '` has no effect.

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!
Bildschirmfoto 2021-12-12 um 02 02 43

Ligatures not working correctly

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.

This is how mine looks:
Screenshot 2021-12-12 at 9 17 36 PM

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.

Virtual Environment Support

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

Boolean Variables

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.

rename repo

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.

Icons not displaying with Fira Code Nerd Font

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 ...
image
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.
image

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

Using param expansion to load customization variables from .zshrc

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"

Ligatures not working correctly

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

Screenshot 2022-05-08 at 4 56 36 PM

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:
Screenshot 2022-05-08 at 5 03 17 PM

How to set symbols, configure hide/show user and host, and change colors.

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.

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.