olivierverdier / zsh-git-prompt

Informative git prompt for zsh
MIT License
1.72k stars 395 forks source link

Mounted FTP filesystem with git repo locks up ZSH #105

Open KernelDeimos opened 7 years ago

KernelDeimos commented 7 years ago

I'm not 100% sure this plugin is the culprit, but it makes sense;

I have an FTP server mounted, and the ZSH prompt never shows up after I try to cd into any directory that has a git repository in it.

I noticed that trying to run git status in such a directory using bash has a similar result - git status just never returns (but I can SIGINT to make it go away, which of course doesn't work for the ZSH prompt).

Some solutions I can think of are: