svn commit: r505347 - in head/shells/git-prompt.zsh: . files
Joseph Mingrone
jrm at FreeBSD.org
Sat Jun 29 12:44:18 UTC 2019
Author: jrm
Date: Sat Jun 29 12:44:16 2019
New Revision: 505347
URL: https://svnweb.freebsd.org/changeset/ports/505347
Log:
shells/git-prompt.zsh: Use UCL pkg-message only shown upon install
Reported by: mat
Modified:
head/shells/git-prompt.zsh/Makefile (contents, props changed)
head/shells/git-prompt.zsh/files/pkg-message.in (contents, props changed)
Modified: head/shells/git-prompt.zsh/Makefile
==============================================================================
--- head/shells/git-prompt.zsh/Makefile Sat Jun 29 12:27:12 2019 (r505346)
+++ head/shells/git-prompt.zsh/Makefile Sat Jun 29 12:44:16 2019 (r505347)
@@ -3,7 +3,7 @@
PORTNAME= git-prompt.zsh
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells
MAINTAINER= jrm at FreeBSD.org
Modified: head/shells/git-prompt.zsh/files/pkg-message.in
==============================================================================
--- head/shells/git-prompt.zsh/files/pkg-message.in Sat Jun 29 12:27:12 2019 (r505346)
+++ head/shells/git-prompt.zsh/files/pkg-message.in Sat Jun 29 12:44:16 2019 (r505347)
@@ -1,12 +1,15 @@
-=============================================================
+[
+{
+message: <<EOT
+Final git-prompt.zsh setup instructions:
-To add the git status indicator to your prompt, source
-git-prompt.zsh in one of your Zsh startup files using
+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.
+Next, add ' $(gitprompt)%# ' to the end of the PROMPT value like in the
+example below.
PROMPT='%n@%m %~ $(gitprompt)%# '
@@ -17,5 +20,7 @@ For details, refer to
or
https://github.com/woefe/git-prompt.zsh
-
-=============================================================
+EOT
+ type: install
+}
+]
More information about the svn-ports-head
mailing list