vcs_info 

Send to Kindle
home » snippets » zsh » 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]-"