akarzim / zsh-docker-aliases

ZSH Docker aliases and functions
MIT License
199 stars 33 forks source link

zplug can't find repo #9

Closed rbavery closed 4 years ago

rbavery commented 4 years ago

zplug load akarzim/zsh-docker-aliases, from:github won't load the repo, and zplug update shows "Repo not found". I've update zplug to the latest version. I've also tried specifying

# rave at rave-thinkpad in ~/CropMask_RCNN/app on git:return_geo ✖︎ [14:14:07]
→ zplug update                                      
[zplug] Start to update 9 plugins in parallel

 ✔  Up-to-date            skywind3000/z.lua
 ✘  Repo not found        akarzim/zsh-docker-aliases
 ✔  Up-to-date            plugins/docker
 ✔  Up-to-date            webyneter/docker-aliases
 ✔  Up-to-date            unixorn/docker-helpers.zshplugin
 ✔  Up-to-date            zsh-users/zsh-autosuggestions
 ✔  Up-to-date            oskarkrawczyk/honukai-iterm-zsh
 ✔  Up-to-date            zplug/zplug
 ✔  Up-to-date            plugins/git
akarzim commented 4 years ago

Hi Ryan ! Here is how my own configuration file looks like :

# ~/.zplug/init.zsh

zplug "akarzim/zsh-docker-aliases", from:github, \
    if:"(( $+commands[docker] ))"

You need to declare your zplug plugins in this file and then load them with zplug load --verbose.

And it works like a charm.

❯ zplug --version
2.4.2
❯ zplug update
[zplug] Start to update 25 plugins in parallel

 ✔  Up-to-date            mafredri/zsh-async
 ✔  Up-to-date            modules/environment
 ✔  Up-to-date            modules/syntax-highlighting
 ✔  Up-to-date            akarzim/zsh-docker-aliases
 ✔  Up-to-date            modules/history
 ✔  Up-to-date            akarzim/6a0d679ef8e61d728be47bd7f47362de
 ✔  Up-to-date            junegunn/fzf-bin
 ✔  Up-to-date            modules/history-substring-search
 ✔  Up-to-date            modules/ssh
 ✔  Up-to-date            modules/editor
 ✔  Up-to-date            junegunn/fzf
 ✔  Up-to-date            modules/rails
 ✔  Up-to-date            modules/utility
 ✔  Up-to-date            akarzim/40685dbdbc269115e372e801dee24072
 ✔  Up-to-date            sindresorhus/pure
 ✔  Up-to-date            modules/directory
 ✔  Up-to-date            rupa/z
 ✔  Up-to-date            zplug/zplug
 ✔  Up-to-date            akarzim/57cf090edf53acb082ff44d38fcea259
 ✔  Up-to-date            tmuxinator/tmuxinator
 ✔  Up-to-date            akarzim/2bd1012f3047585b19cdfad4937895b3
 ✔  Up-to-date            akarzim/7b2f24c7f0dee222b662f35f5bba497a
 ✔  Up-to-date            modules/git
 ✔  Up-to-date            modules/completion
 ✔  Up-to-date            modules/osx

[zplug] Elapsed time: 4.4722 sec.
 ==> Updating finished successfully!

Please refer to the zplug documentation for more details :)

rbavery commented 4 years ago

Hmm this isn't working for me so it must be that something is wrong with my installation. I'm still getting Repo not Found after trying to place that line in my .zplug/init.sh or .zplug/packages.zsh.

But I ended finding a repos folder in my .zplug folder, after cloning manually with git and trying zplug update it worked. Thanks for the help!

svenjacobs commented 1 year ago

I feel really stupid 😅 but after adding a plugin to my zplug configuration I had to do an zplug install not zplug update. Hope it helps anyone who comes here with the same problem.