Skip to content
Snippets Groups Projects
Commit 1b2b4aa5 authored by Ayaz Badouraly's avatar Ayaz Badouraly
Browse files

Defining only used vcs variables

parent ef52de65
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,10 @@ local current_dir="%{$fg_bold[green]%}%~%{$reset_color%}" ...@@ -23,8 +23,10 @@ local current_dir="%{$fg_bold[green]%}%~%{$reset_color%}"
PROMPT='${clock} ${user_host} ${current_dir}${eol} ' PROMPT='${clock} ${user_host} ${current_dir}${eol} '
# Display vcs info # Display vcs info
# http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Version-Control-Information
autoload -Uz vcs_info 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:*' enable git
zstyle ':vcs_info:*' check-for-changes true zstyle ':vcs_info:*' check-for-changes true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment