MichaelAquilina/zsh-you-should-use

can not parse you-should-use.plugin.zsh with oh-my-zsh in wsl2

e365367 opened this issue · 3 comments

Issue Details

After install it, I source my .zshrc file, and then I got error, and I can not use the plugin.
image

Please provide the following details when opening an issue:

Operating System (uname -a)

image

zsh version (zsh --version)

image

you-should-use version (echo "$YSU_VERSION")

image

How is zsh-you-should-use installed?

  • zplug
  • [√] oh-my-zsh
  • Antigen
  • Other (please specify)

Steps to reproduce the issue

gist link to your zshrc

That actually seems quite strange.

What does head -20 ~/.oh-my-zsh/custom/plugins/you-should-use/you-should-use.plugin.zsh return?

That actually seems quite strange.

What does head -20 ~/.oh-my-zsh/custom/plugins/you-should-use/you-should-use.plugin.zsh return?

thank you for your reply !I resolved it just now,it is because the format of the file is windows,I exec the cmd: "dos2unix you-should-use.plugin.zsh" , and then it is ok.

Nice :) thanks for replying back with what the solution was. Closing this Issue then