skywind3000 / skywind3000/vim

source ~/.zshrc后,报错 /root/.local/bin/antigen.zsh:30: parse error near `fi'

Open
#20 4 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.