source ~/.zshrc后,报错 /root/.local/bin/antigen.zsh:30: parse error near `fi'
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 937
- Forks
- 280
- PR merge metrics
- No merged PRs in 30d
Description
报错,大段的
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
/root/.local/bin/antigen.zsh:30: parse error near `fi'
zsh下敲antigen,就只报
/root/.local/bin/antigen.zsh:30: parse error near `fi'
请问如何解决?
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 by checking the ~/.zshrc configuration and /root/.local/bin/antigen.zsh, especially line 30, using the reported parse error as the first diagnostic. Reproduce the failure by sourcing ~/.zshrc and running antigen; done means the parse error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100