Code Monkey home page Code Monkey logo

Comments (10)

babarot avatar babarot commented on May 29, 2024

Hi,

the output of git pull that you say is the something like this?:

$ git pull
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 14 (delta 4), reused 13 (delta 3), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/b4b4r07/zplug
   db2306b..661b481  master     -> origin/master
Updating db2306b..661b481
Fast-forward
 zplug | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

If that's the case, it's difficult to be accepted because the update command is run asynchronously.

from zplug.

asymmetric avatar asymmetric commented on May 29, 2024

Yes, that's the output I'm talking about. I was thinking that asynchronicity could make things harder.

Is there a way to at least display "Updated!" only if an update has actually taken place?
If I'm not mistaken, at the moment there's no way to know that.

Thanks!

from zplug.

babarot avatar babarot commented on May 29, 2024

Let me get that straight. Is this what you mean?

$ zplug update
Updating...  b4b4r07/http_code
Updating...  zsh-users/zsh-completions
Updating...  b4b4r07/emoji-cli
Updating...  junegunn/fzf-bin
Updating...  zsh-users/zsh-syntax-highlighting
Updating...  b4b4r07/enhancd
Updating...  zsh-users/zsh-history-substring-search
Updating...  b4b4r07/zsh-gomi
Updating...  b4b4r07/zplug
Updating...  mrowa44/emojify
Updating...  plugins/git
Updated!     b4b4r07/zsh-gomi                           (1.92s)
Up-to-date   b4b4r07/enhancd                            (1.96s)
Up-to-date   b4b4r07/zplug                              (2.07s)
Up-to-date   zsh-users/zsh-history-substring-search     (2.08s)
Up-to-date   mrowa44/emojify                            (2.08s)
Up-to-date   b4b4r07/emoji-cli                          (2.11s)
Up-to-date   b4b4r07/http_code                          (2.13s)
Updated!     zsh-users/zsh-completions                  (2.31s)
Updated!     zsh-users/zsh-syntax-highlighting          (2.30s)
Up-to-date   plugins/git                                (3.17s)
Up-to-date   junegunn/fzf-bin                           (8.17s)

from zplug.

NigoroJr avatar NigoroJr commented on May 29, 2024

+1 for this feature. Along with that, maybe a different color for Up-to-date would be nice.

from zplug.

asymmetric avatar asymmetric commented on May 29, 2024

Yeah, basically that. I would add that you don't need the "Updating..." section, since you end up with duplicate entries for each plugin.. or maybe you could replace the "Updating..." text once it's updated, รก la vim-plug.

from zplug.

babarot avatar babarot commented on May 29, 2024

_ZPLUG DEMO_

demo

from zplug.

babarot avatar babarot commented on May 29, 2024

I can say that "Updating..." message is necessary because the message means starting to git fetch and "Installing..." and "Updatig..." are corresponding.

from zplug.

babarot avatar babarot commented on May 29, 2024

Hi,

I'll merge this, if you like this changes.

from zplug.

NigoroJr avatar NigoroJr commented on May 29, 2024

Looks good to me!

from zplug.

babarot avatar babarot commented on May 29, 2024

๐Ÿ˜† I'm glad

from zplug.

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.