z-shell / zi

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

[bug]: #248

Closed rationalthinker1 closed 1 year ago

rationalthinker1 commented 1 year ago

Environment

Device: ubuntu | linux-gnu | x86_64 | /bin/bash | zsh | ubuntu/5.8-3ubuntu1.1

Reproduction steps

When I load it and run zsh, I get `Username for 'https://github.com':` asking me everytime. I downloaded Github CLI and logged in just to see whether it was an issue.

Expected behavior

Download packages as expected

Current behavior

asking me to login for every package

Code snippet

typeset -Ag ZI
typeset -gx ZI[HOME_DIR]="${LOCAL_CONFIG}/zi" ZI[BIN_DIR]="${ZI[HOME_DIR]}/bin"
command mkdir -p "$ZI[BIN_DIR]"
source <(curl -sL git.io/zi-loader); zzinit

zi ice depth=1;  zi light romkatv/powerlevel10k
zi ice wait'!0'; zi light zsh-users/zsh-autosuggestions
# zi ice wait'!0'; zi light marlonrichert/zsh-autocomplete
zi ice wait'!0'; zi light zsh-users/zsh-completion
zi ice wait'!0'; zi light wfxr/forgit
zi ice wait'!0'; zi light zdharma-continuum/fast-syntax-highlighting
zi ice wait'!0' from"github-rel" as"program"; zi light ogham/exa
zi ice wait'!0' from"github-rel" as"program"; zi light junegunn/fzf
zi ice wait'!0' from"github-rel" as="program" pick="*/rg"; zi light BurntSushi/ripgrep
zi ice wait'!0'; zi snippet OMZP::gitfast
zi ice wait'!0'; zi snippet OMZP::docker
zi ice wait'!0'; zi snippet OMZP::docker-compose
zi ice wait'!0'; zi snippet OMZP::sudo
zi ice wait'!0'; zi snippet OMZP::copyfile
zi ice wait'!0'; zi snippet OMZP::dirhistory

Additional information

Directories set:
Home: /home/raza/.zi
Binary: /home/raza/.zi/bin
Plugin: /home/raza/.zi/plugins
Snippet: /home/raza/.zi/snippets
Service: /home/raza/.zi/services
Modules: /home/raza/.zi/zmodules
User-land: /home/raza/.zi/Polaris
Completions:/home/raza/.zi/completions
Loaded plugins: 7
Light loaded: 6
Downloaded plugins: 11
Compiled plugins: 8
Enabled completions: 144
Disabled completions: 0
Completions available overall: 145
Snippets loaded:
OMZP::copyfile <single file>, OMZP::dirhistory <single file>, OMZP::docker <single file>, OMZP::docker-compose <single file>, OMZP::gitfast <single file>, OMZP::sudo <single file>

Self-service

Have you read the Contributing Guidelines?

Are you familiar with the Contributor Covenant Code of Conduct?

Contact Details

razaf88@gmail.com

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!

wicoop commented 1 year ago

Can you clone repositories as follows?

git clone https://github.com/z-shell/zi http-clone
git clone git@github.com:z-shell/zi git-clone
rationalthinker1 commented 1 year ago

Sorry for not getting back to this. I think it was on my end. I basically deleted everything and started again. and I cleaned up my ssh folder also.

github-actions[bot] commented 1 year ago

Issue closed and locked due to lack of activity. If you encounter this same issue, please open a new issue and refer to this closed one.