ohmyzsh/plugins/vcsinfo/vcsinfo.plugin.zsh
2010-10-18 22:01:04 -07:00

17 lines
364 B
Bash
Executable file

# 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
#
typeset -ga precmd_functions
autoload -Uz vcs_info
zsh_vcsinfo_precmd() {
vcs_info
}
precmd_functions+='zsh_vcsinfo_precmd'