Add a boilerplate & fix vague comments

This commit is contained in:
xylous 2022-01-30 11:01:58 +02:00
parent 74dcbbc51e
commit 7f06c8c7b5
No known key found for this signature in database
GPG Key ID: A9E6DA43F5E78D24

View File

@ -1,7 +1,15 @@
# gitstatus zsh plugin
# https://github.com/xylous/gistatus
#
# Code licensed under the MIT License
# https://raw.githubusercontent.com/xylous/gitstatus/master/LICENSE
#
# @author xylous <xylous.e@gmail.com>
# @maintainer xylous <xylous.e@gmail.com>
###
# Print the final gitstatus prompt to stdout
# Arguments: $1 -i, if it's an inline prompt => add a whitespace at the end, if
# not empty
# Print a formatted gitstatus prompt to stdout
# Options: -i add a whitespace at the end, if the output isn't empty
###
function gitstatus()
{