z-shell / zi

✨ A Swiss Army Knife for Zsh - Unix Shell
https://wiki.zshell.dev
MIT License
735 stars 42 forks source link

[bug]: Repo fatal in clone for zsh-lint #303

Closed b9Joker108 closed 7 months ago

b9Joker108 commented 7 months ago

Environment

Termux

Reproduction steps

1.I just tried to execute `zi load zsh-lint` 
2. But got:

Downloading: zsh-lint… (at label: zsh-lint…)
Cloning into '/data/data/com.termux/files/home/.zi/plugins/zsh-lint'...
remote: Not Found
fatal: repository 'https://github.com/zsh-lint/' not found

Clone failed (code: 128).

I note that the correct repository seems to be:
https://github.com/z-shell/zsh-lint

Expected behavior

1. I am not sure really. It is my first time using Zi after tweaking the Dash installation script, to install Zi in Termux without root.

Current behavior

1. I have explained that. The clone of zsh-lint is unsuccessful, as the address appears to be in error in Zi.

Code snippet

Please refer above.

Additional information

zi zstatus
Directories set:
Home: /data/data/com.termux/files/home/.zi                                                            Binary: /data/data/com.termux/files/home/.zi/bin                                                      Plugin: /data/data/com.termux/files/home/.zi/plugins                                                  Snippet: /data/data/com.termux/files/home/.zi/snippets
Service: /data/data/com.termux/files/home/.zi/services
Modules: /data/data/com.termux/files/home/.zi/zmodules
User-land: /data/data/com.termux/files/home/.zi/polaris
Completions:/data/data/com.termux/files/home/.zi/completions
Loaded plugins: 2
Light loaded: 0
Downloaded plugins: 2
Compiled plugins: 2
Enabled completions: 1
Disabled completions: 0
Completions available overall: 1
Snippets loaded:

Self-service

Have you read the Contributing Guidelines?

Are you familiar with the Contributor Covenant Code of Conduct?

Contact Details

beauford.a.stenberg@gmail.com

ss-o commented 7 months ago

Hi @b9Joker108 :wave:

The issue you are having is incorrect syntax zi load zsh-lint.

Correct syntax:

zi load <user>/<repository>

In your case:

zi load z-shell/zsh-lint

Related documentation: wiki.zshell.dev

b9Joker108 commented 7 months ago

Thank you very much. It's working.