desyncr / zpm-zsh

Main repository: https://github.com/zpm-project/zpm-zsh
GNU General Public License v3.0
2 stars 4 forks source link

Support local plugins #2

Closed desyncr closed 7 years ago

desyncr commented 7 years ago

zpm should be able to install plugins from local path as well as github urls:

zpm "/path/to/local/plugin"   # /path/to/local/plugin
zpm "remote/plugin"           # github.com/remote/plugin.git
fennecdjay commented 7 years ago

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

fennecdjay commented 7 years ago

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

desyncr commented 7 years ago

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

desyncr commented 7 years ago

Done! Thank for your work @fennecdjay !