Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs when offline #717

Open
lvisb opened this issue Apr 30, 2024 · 3 comments
Open

Hangs when offline #717

lvisb opened this issue Apr 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@lvisb
Copy link

lvisb commented Apr 30, 2024

I noticed that if I'm offline, the terminal never provides me with the prompt. It stays in a loading state.
I use oh-my-zsh as a plugin manager.

Q. How do I know if it's the zsh-autocomplete causing this?
A. If I remove it from the list of plugins and I'm offline, the terminal loads normally.

Example of my plugin list:
plugins=(git zsh-autocomplete zsh-autosuggestions zsh-syntax-highlighting)

I've tried disabling the auto-update of oh-my-zsh, but it didn't have any effect.
Do you have any idea if it's something in zsh-autocomplete or in oh-my-zsh?

@lvisb lvisb added the bug Something isn't working label Apr 30, 2024
@danielsilva010
Copy link

I use it on MacOS offline, no plugins zsh-autocomplete runs perfectly

@polyzen
Copy link

polyzen commented May 10, 2024

This occurs for me when a network share is unavailable at boot. I have them set to mount when I try to access them, which for some reason zsh-autocomplete immediately does after zsh starts.

If the network share becomes unavailable after it was already mounted, zsh-automplete will also cause new terminals to hang.

@polyzen
Copy link

polyzen commented May 10, 2024

This occurs despite if the share is mounted under $HOME or /mnt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants