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 +}