Git Product home page Git Product logo

Comments (6)

sharat87 avatar sharat87 commented on May 22, 2024

Are there any existing repos that offer a prompt theme? That would serve both as an example and a case for doing this.

from antigen.

GUIpsp avatar GUIpsp commented on May 22, 2024

https://github.com/XsErG/zsh-themes/blob/master/themes/lazyuser.zsh-theme
I suggest searching in the root and in the "themes" directory, perhaps caching it

from antigen.

sharat87 avatar sharat87 commented on May 22, 2024

I think the lib/git.zsh is required for those themes to work, yeah? Then a antigen-bundle XsErG/zsh-themes lib should be run before using that themes :)

As for specifying the theme, I'd say instead of searching in the root and themes directories, we don't search at all. The theme needs to be explicitly specified as antigen-theme XsErG/zsh-themes themes/lazyuser. This way, there won't be a confusion of where the theme file is located in the repo.

Also, in the above example antigen-theme command, I omitted the .zsh-theme extension. Not sure if this is a good idea. What do you say?

from antigen.

GUIpsp avatar GUIpsp commented on May 22, 2024

Themes shouldn't have to patch anything

from antigen.

GUIpsp avatar GUIpsp commented on May 22, 2024

Omitting the extension is a good idea
We should however watch out to keep it compatible with the canonical repo

from antigen.

sharat87 avatar sharat87 commented on May 22, 2024

Yes, compatibility should be kept. I'll try getting something working tonight.

from antigen.

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.