can not parse you-should-use.plugin.zsh with oh-my-zsh in wsl2
e365367 opened this issue · 3 comments
e365367 commented
Issue Details
After install it, I source my .zshrc file, and then I got error, and I can not use the plugin.
Please provide the following details when opening an issue:
Operating System (uname -a)
zsh version (zsh --version)
you-should-use version (echo "$YSU_VERSION")
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
MichaelAquilina commented
That actually seems quite strange.
What does head -20 ~/.oh-my-zsh/custom/plugins/you-should-use/you-should-use.plugin.zsh
return?
e365367 commented
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.
MichaelAquilina commented
Nice :) thanks for replying back with what the solution was. Closing this Issue then