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

在git bash中报错 #199

Open
ghrejoe opened this issue Jan 12, 2024 · 2 comments
Open

在git bash中报错 #199

ghrejoe opened this issue Jan 12, 2024 · 2 comments

Comments

@ghrejoe
Copy link

ghrejoe commented Jan 12, 2024

vicfg $ (master) eval "$(lua.exe ~/z.lua --init bash)"
bash: @echo: command not found
bash: setlocal: command not found
bash: syntax error near unexpected token `('

在git bash中执行以上命令报错,请看一下,谢谢

@skywind3000
Copy link
Owner

你需要 msys 版本的 lua,而不是 windows 版本的 lua,windows 版本的 lua 以为自己运行于 windows 根本不认识 msys 那种路径形势。

@ghrejoe
Copy link
Author

ghrejoe commented Jan 12, 2024

你需要 msys 版本的 lua,而不是 windows 版本的 lua,windows 版本的 lua 以为自己运行于 windows 根本不认识 msys 那种路径形势。

好的,谢谢,我找一下,刚准备删除这条。因为搜索了一下issues发现有人有同样问题。。

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