Links
- docs: vcs_info(): Gathering information from version control systems
- Customize your ZSH prompt with vcs_info
Snippets
# vcs_info is part of zsh. autoload -Uz vcs_info # Call it. vcs_info # The results are set into parameters. print ${vcs_info_msg_0_} # Might print " (git)-[master]-"