Created Tue Jun, 04 2019 at 10:56AM

I was using oh-my-zsh shell enhancement couldn't help noticing how slow changing directories was in certain cases. In my case it turned out to be my git plugin reading the repo on the remotely mounted SSHFS volume that caused the delay in returning my prompt. If you find yourself in the same boat, the settings "oh-my-zsh.hide-dirty" can be set in gitconfig to disable this.

# hide it globally:
git config --global oh-my-zsh.hide-status 1
# hit it for current repo
git config oh-my-zsh.hide-status 1

or if you want to stop it just for a sshfs mounted dir you can add this to .zshrc or other custom imported .zsh file.

zstyle ':vcs_info:*' disable-patterns "$HOME/ssh-mount(|/*)"