skywind3000 / skywind3000/z.lua
可以在git-bash中用吗?
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
我在Git/etc/bash.bashrc里加了
eval "$(lua /tools/z.lua --init bash)"
然后开cmder的bash模式,或者git自带的都报
@echo: command not found
bash: setlocal: command not found
bash: eval: line 78: syntax error near unexpected to ken `('
bash: eval: line 78: `if /i not "%_ZL_LUA_EXE%"=="" ('
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Git/etc/bash.bashrc and reproduce the issue using eval "$(lua /tools/z.lua --init bash)" in both Cmder bash mode and Git Bash. Inspect the generated initialization around the reported @echo, setlocal, and if /i errors; done means the initialization runs without Bash syntax errors in the reported environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100