skywind3000 / z.lua

:zap: A new cd command that helps you navigate faster by learning your habits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在git bash中报错

ghrejoe opened this issue · comments

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中执行以上命令报错,请看一下,谢谢

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

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

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