Skip to content
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

stuck at status; unable to unset zplugs[] on clean #316

Closed
davidosomething opened this issue Dec 21, 2016 · 4 comments
Closed

stuck at status; unable to unset zplugs[] on clean #316

davidosomething opened this issue Dec 21, 2016 · 4 comments

Comments

@davidosomething
Copy link

davidosomething commented Dec 21, 2016

Problem Summary

on first run after updating to new master with new spinners:
__zplug::job::handle::flock:zsystem:28: failed to open /Users/davidosomething/.local/share/zplug/log/trace.log for writing: no such file or directory

(does not re-occur after update)

 I  % zplug clean
__clean__:unset:122: zplugs[]: invalid parameter name

and zplug status is stuck

system information

from zplugdoctor (https://github.com/davidosomething/dotfiles/blob/master/zsh/zplugdoctor.zsh)

davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  % zplugdoctor
==> uname -a
Darwin potatopro.local 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
==> zsh version
zsh 5.3 (x86_64-apple-darwin16.1.0)
==> zplug rev
dbe0ebebb5311f5dc1f9e3b051ee55408bed672d
==> zplug env
ZPLUG_HOME = /Users/davidosomething/.local/share/zplug
ZPLUG_LOADFILE = /Users/davidosomething/.dotfiles/zsh/zplug.zsh
ZPLUG_ROOT = /Users/davidosomething/.local/share/zplug
ZPLUG_THREADS = 16
ZPLUG_PROTOCOL = HTTPS
ZPLUG_FILTER = fzf-tmux:fzf:peco:percol:fzy:zaw
ZPLUG_USE_CACHE = true
ZPLUG_ERROR_LOG = /Users/davidosomething/.local/share/zplug/.error_log
ZPLUG_CACHE_DIR = /Users/davidosomething/.local/share/zplug/cache
ZPLUG_REPOS = /Users/davidosomething/.local/share/zplug/repos
_ZPLUG_VERSION = 2.3.4
_ZPLUG_URL = https://github.com/zplug/zplug
_ZPLUG_OHMYZSH = robbyrussell/oh-my-zsh
_ZPLUG_PREZTO = sorin-ionescu/prezto
_ZPLUG_AWKPATH = /Users/davidosomething/.local/share/zplug/misc/contrib
_ZPLUG_CONFIG_SUBSHELL = :
davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  % zplug clean
__clean__:unset:122: zplugs[]: invalid parameter name
davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  %

davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  % zplug status


 ✔  Up-to-date            vasyharan/zsh-brew-services
 ⠏  Fetching...           zsh-users/zsh-completions
 ✔  Up-to-date            knu/z
 ✔  Up-to-date            davidosomething/vopen
 ✔  Up-to-date            akoenig/gulp.plugin.zsh
 ✔  Up-to-date            lukechilds/zsh-better-npm-completion
 ✔  Up-to-date            davidosomething/cdbk
 ✔  Up-to-date            zsh-users/zsh-autosuggestions
 ✔  Up-to-date            zsh-users/zsh-syntax-highlighting
 ✔  Up-to-date            paulirish/git-open
 ✔  Up-to-date            davidosomething/git-ink
 ✔  Up-to-date            davidosomething/git-my
 ✔  Up-to-date            davidosomething/git-take

[zplug] Finished: 0/13 plugins

relevant parts of zshrc:

loading zplug (everything is okay except those two commands):
https://github.com/davidosomething/dotfiles/blob/master/zsh/.zshrc#L141-L187

plugs:
https://github.com/davidosomething/dotfiles/blob/master/zsh/zplug.zsh

babarot added a commit that referenced this issue Dec 21, 2016
@babarot
Copy link
Member

babarot commented Dec 21, 2016

It should have been fixed for trace log. Please try again.

@babarot babarot added the BUG label Dec 21, 2016
@babarot
Copy link
Member

babarot commented Dec 21, 2016

Also fixed a bug in the clean command

@babarot
Copy link
Member

babarot commented Dec 21, 2016

BTW, your zplugdoctor is a nice idea!

babarot added a commit that referenced this issue Dec 21, 2016
@babarot
Copy link
Member

babarot commented Dec 21, 2016

@davidosomething I have allowed user-defined functions to be executed as subcommands like user-defined commands!

zplug "b4b4r07/zplug-doctor", lazy:yes, use:zplug-doctor

then

2016-12-22 0 09 43

See also https://github.com/b4b4r07/zplug-doctor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants