From 28dfc8987d9846b34bc3ed9fbf682b70d69db9d3 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 23 Jun 2022 21:02:23 +0300 Subject: [PATCH] Ability to temporary disable vcs_info As it works badly with bare repositories on NFS. --- zsh/.zsh/rc/015prompt.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zsh/rc/015prompt.zsh b/zsh/.zsh/rc/015prompt.zsh index 9a6219a..abd2502 100644 --- a/zsh/.zsh/rc/015prompt.zsh +++ b/zsh/.zsh/rc/015prompt.zsh @@ -36,5 +36,5 @@ preexec() { precmd() { printf "\a\e]2;\e\\" - vcs_info + [[ -n "$NO_VCS_INFO" ]] || vcs_info } -- 2.44.0