Coder Social home page Coder Social logo

Support local plugins about zpm-zsh HOT 4 CLOSED

desyncr avatar desyncr commented on June 12, 2024
Support local plugins

from zpm-zsh.

Comments (4)

fennecdjay avatar fennecdjay commented on June 12, 2024

Do you think the local plugin path has to be absolute ?
If not, I think the following behavior would address both #2 and #5:

  • try to open path as regular file
    • on success treat path as a local plugin, else
  • if path contains only one slash
    • host is github, else
  • treat path as any git host

from zpm-zsh.

fennecdjay avatar fennecdjay commented on June 12, 2024

What is the intented behavior for local plugin?
is it enough add an entry to ~/.zpm/.plugin_list?

from zpm-zsh.

desyncr avatar desyncr commented on June 12, 2024

@fennecdjay Yes, path should be absolute, and the behavior should be the same for both, only there is no need for cloning/updating.

from zpm-zsh.

desyncr avatar desyncr commented on June 12, 2024

Done! Thank for your work @fennecdjay !

from zpm-zsh.

Related Issues (14)

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.