-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New features (TBD) #71
Comments
New tag name
|
I know this will be confusing to current users (and also breaks backward compatibility), but maybe:
I think your idea of using |
👍 Thank you for your suggestion ! I see 😎 . It's true that |
I always found Also, what do you think of |
Thank you for your suggestion. It is true that
Great |
Now
|
Another option for |
@asymmetric i see. Please tell me more exactly. |
Can you have multiple |
I like the following changes
zplug "dominictarr/JSON.sh", type:command, alias:jq
zplug "mollifier/zload", type:plugin
zplug "rupa/z", file:z.sh |
Some of the confusion may be in mixing of different parts of speech. adverb as The proposal above makes things more noun-centric. preposition from, at I am not sure if this is easier or harder. |
Thank you all. I think the users should use like natural language to set the plugins tag. In other words it's like this:
Because the description by natural language is very intuitive, there are no problems even if we forget the tag name. |
@b4b4r07 the |
@asymmetric I understand. Thanks |
@b4b4r07 I was wondering, for the
if you want to use the zplug 'user/repo', as:completion, of:'_foo' zplug will then perform something equivalent to: ln -sf $ZPLUG_HOME/user/repo/_foo $ZPLUG_HOME/completions/
fpath=($fpath $ZPLUG_HOME/completions) When writing |
@NigoroJr The new |
Currently, the main file (zplug) is beyond the 2000 lines. Like this:
When we could break the regulation, we should be able to find new benefits. |
Hi, there I have been developing zplug version 2. BTW, upon that implementations, we need to decide new tag name. Which tag name do you think is best? Does your thinking change? |
@b4b4r07 Awesome, great work! I like @asymmetric's idea of using
|
@NigoroJr 👍 Thanks. Certainly, I think this change is a very intuitive and easy to understand. In addition, I'm rethinking the directory structure that manages plugins. Currently, it's Shoud I leave this as it is? |
I think that's a good idea and I can see at least two scenarios where that would be useful.
However, I'm not sure if |
Comments on previous proposals
Feature proposals
with #1 and 2
with 1, 2, 4, and 5
Patiently awaiting zplug v2.0, to play around with different ideas. |
@jedahan Great insight on the |
I'm actually curious: what's the usecase for renaming in the first place? Other than that, I'm 👍 with @NigoroJr's suggested keywords. |
@asymmetric For example...
|
I see. I'm ok with |
Thank you all 👘 I won't change basic zplug format like this: zplug's new project directory is the following: Thanks to autoload, zplug will be more fast. In addition, we are easier to maintain because all aliases in zsh are not expanded if -U option is passed in autoload. |
zplug v2, like |
@b4b4r07 Looks fantastic! Is there anything I can do to help? |
I found this problem that there is no consistency. Really I want to adopt the following directory structure:
However, there is a contradiction in above. At first, No "local" directory is required because zplug will source local plugins file immediately. Next, I want to adopt
In addition, the installation method by using git.io/zplug became deprecated because zplug main file is divided. Therefore, the user need to install with |
maybe |
I'd like to prefer |
See top comment
|
@b4b4r07 |
@NigoroJr 👍 Thanks! but I don't have GNU/Linux desktop machine... |
@b4b4r07 I do! What do you need tested? And anyway, you can use vagrant to easily bring up any VM! :) |
About |
- Divide zplug into multiple files - Lazy loading (autoload) - New structure e.g. __subcommand__ - Libraries for zplug - Scalability - Testable - Documentations (man page) - More... For more details, see also zplug/zplug#71
Note that this doesn't ignore the `repos' directory that it currently creates. This is under the assumption that the directory structure will be changed to what is described in: zplug/zplug#71 (comment)
Note that this doesn't ignore the `repos' directory that it currently creates. This is under the assumption that the directory structure will be changed to what is described in: zplug/zplug#71 (comment)
Closing! see also #121 |
zplug v2.0.0 specifications
autoload
(__subcommand__
file)git(1)
as
=>type
of
=>use
file
=>rename
/as
terminal-notifier
(OS X)notify-send
(GNU/Linux)autoload
(e.g. mollifier/cd-gitroot)lazy:"~/path/to/file"
The text was updated successfully, but these errors were encountered: