svn commit: r505291 - in head/shells/git-prompt.zsh: . files

Mathieu Arnold mat at FreeBSD.org
Fri Jun 28 21:53:20 UTC 2019


On Fri, Jun 28, 2019 at 04:22:17PM +0000, Joseph Mingrone wrote:
>   shells/git-prompt.zsh: Add installation instructions in pkg-message
> 

So, you say installation instructions, but you create a pkg-message that
is also shown during upgrades, which is suboptimal.

To discover how to make that happen, please have a look at:
https://www.freebsd.org/doc/en/books/porters-handbook/pkg-files.html#porting-message

(You should also remove the === lines around the message.)

> Added: head/shells/git-prompt.zsh/files/pkg-message.in
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/shells/git-prompt.zsh/files/pkg-message.in	Fri Jun 28 16:22:17 2019	(r505291)
> @@ -0,0 +1,21 @@
> +=============================================================
> +
> +To add the git status indicator to your prompt, source
> +git-prompt.zsh in one of your Zsh startup files using
> +
> +source %%DATADIR%%${PORTNAME}/${PORTNAME}
> +
> +Next, add ' $(gitprompt)%# ' to the end of the PROMPT value
> +like in the example below.
> +
> +PROMPT='%n@%m %~ $(gitprompt)%# '
> +
> +For details, refer to
> +
> +%%DOCSDIR%%/README.md
> +
> +or
> +
> +https://github.com/woefe/git-prompt.zsh
> +
> +=============================================================
> 
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190628/15fbe74f/attachment.sig>


More information about the svn-ports-all mailing list