wookayin/dotfiles

zsh slows down when attemps to network drive

Corea opened this issue · 4 comments

Corea commented
zsh slows down when attemps to network drive

I believe this is mainly because the shell is trying to access to the disk to retrieve git status, or some other information...

Corea commented

Is there any option to turn off such things on specific directory?

command git config --bool prompt.showinfo is being used for exactly this purpose: https://github.com/sorin-ionescu/prezto/blob/master/modules/git/functions/git-info#L196-L198.

You can turn it off typing (inside a git repo)

git-info false

, which basically does

git config prompt.showinfo false

inside a git working copy to disable scanning inside the directory.

Necessary changes in dotfiles and pure are required in order to work correctly. Please update to the latest dotfiles for this feature.