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

install/update display strange message. #348

Closed
leomao opened this issue Jan 6, 2017 · 1 comment · Fixed by #349
Closed

install/update display strange message. #348

leomao opened this issue Jan 6, 2017 · 1 comment · Fixed by #349
Assignees

Comments

@leomao
Copy link
Contributor

leomao commented Jan 6, 2017

Problem Summary

zplug install and zplug update will display Unknown error message.
But the installation/update is success actually.

System Information

  • uname -a
Linux  4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux
  • zsh version
zsh 5.3.1 (x86_64-unknown-linux-gnu)
  • zplug version/commit
2e06c65

(current head)

Minimal zshrc

Create a minimal reproducing set of configurations for this issue. Please
remove all unnecessary parts!

source ~/.zplug/init.zsh
zplug "zsh-users/zsh-syntax-highlighting"
zplug check || zplug install
zplug load --verbose

Steps to Reproduce

  1. remove ~/.zplug.
  2. use the minimal .zshrc above.
  3. curl -sL zplug.sh/installer | zsh to install the zplug.
  4. open a new zsh and confirm to install plugins.
  5. get the Unknown error message

Actual message is like following:

[zplug] Start to install 1 plugins in parallel

 ✘  Unknown error         zsh-users/zsh-syntax-highlighting

[zplug] Elapsed time: 2.8343 sec.
 ==> Installation finished successfully!
 Load "~/.zplug/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh" (zsh-users/zsh-syntax-highlighting)
[zplug] Run compinit
[8]  + done       { tags[as]="$(__zplug::core::core::run_interfaces 'as' "$repo")" ; case  in (     
@babarot
Copy link
Member

babarot commented Jan 6, 2017

Thank you for report, that is my bad. It is environment dependent bug. We will respond immediately. (related to #326)

babarot added a commit that referenced this issue Jan 6, 2017
This is because grep may not be able to correctly distinguish tab characters.
In order to solve this, added a ltsv parser written by awk.

- Fix #326 (see also second commit in P-R #344), fix #348
- Add `__zplug::utils::awk::ltsv function`
@babarot babarot mentioned this issue Jan 6, 2017
@babarot babarot self-assigned this Jan 6, 2017
@babarot babarot added the BUG label Jan 6, 2017
zplug-man added a commit that referenced this issue Jan 6, 2017
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

Successfully merging a pull request may close this issue.

2 participants