From 08457b10b95e868ab4c40defd3e8c34f2e7d008c Mon Sep 17 00:00:00 2001 From: Ryan Phillips Date: Mon, 18 Oct 2010 21:39:45 -0700 Subject: [PATCH] add vcsinfo plugin --- plugins/vcsinfo/vcsinfo.plugin.zsh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 plugins/vcsinfo/vcsinfo.plugin.zsh diff --git a/plugins/vcsinfo/vcsinfo.plugin.zsh b/plugins/vcsinfo/vcsinfo.plugin.zsh new file mode 100755 index 000000000..4dec0fedd --- /dev/null +++ b/plugins/vcsinfo/vcsinfo.plugin.zsh @@ -0,0 +1,13 @@ +# Use the following within your prompt +# ${vcs_info_msg_0_} +# +# The style of vcs_info can be tweaked within a theme by modifying the output +# using zstyle. +# +# http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#IDX2133 +# +autoload -Uz vcs_info + +precmd() { + vcs_info +}