From 1b2b4aa5aa9b6d38d4b78389b4688bb1bf146324 Mon Sep 17 00:00:00 2001 From: Ayaz Badouraly <ayaz.badouraly@via.ecp.fr> Date: Wed, 14 Dec 2016 17:30:23 +0100 Subject: [PATCH] Defining only used vcs variables --- via.zsh-theme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/via.zsh-theme b/via.zsh-theme index ebd2c41..7e2f02d 100644 --- a/via.zsh-theme +++ b/via.zsh-theme @@ -23,8 +23,10 @@ local current_dir="%{$fg_bold[green]%}%~%{$reset_color%}" PROMPT='${clock} ${user_host} ${current_dir}${eol} ' # Display vcs info +# http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Version-Control-Information autoload -Uz vcs_info +zstyle ':vcs_info:*' max-exports 1 # vcs_info only sets vcs_info_msg_0_ zstyle ':vcs_info:*' enable git zstyle ':vcs_info:*' check-for-changes true -- GitLab