danhper / fundle

A minimalist package manager for fish shell
MIT License
375 stars 22 forks source link

Update single plugin #51

Closed hunter-richardson closed 5 years ago

hunter-richardson commented 5 years ago

Is there a way to ask fundle update to pull only a specific plugin? I'm trying to implement a script that pulls installed plugins in random order:

for i in (fundle list --short | shuf)
  fundle update $i
end

...but fundle update pulls the whole list.

BarbzYHOOL commented 5 years ago

I don't think so at the moment :(

danhper commented 5 years ago

Hi, there currently isn't but a PR would be very welcome. Thanks!

hunter-richardson commented 5 years ago

My apologies; I'm kind of new at this. The new PR link asks me to compare branches, but I'm not a collaborator to your repo, so I can't create a new branch.

BarbzYHOOL commented 5 years ago

You need to fork the repo and edit it, then you open up https://github.com/danhper/fundle/ and a javascript message will appear in yellow that you can click to open the PR easily

To try this out, select a file in https://github.com/danhper/fundle/ and click on the pencil icon to edit it, github will tell you it has automatically forked the repo and you are editing your own fork directly on github (not practical)

hunter-richardson commented 5 years ago

See #52 .

hunter-richardson commented 5 years ago

My fork was merged and deleted. This issue can now be closed.