mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
add vcsinfo plugin
This commit is contained in:
parent
dc12853b0c
commit
08457b10b9
1 changed files with 13 additions and 0 deletions
13
plugins/vcsinfo/vcsinfo.plugin.zsh
Executable file
13
plugins/vcsinfo/vcsinfo.plugin.zsh
Executable file
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue