Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2019 12:44:17 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505347 - in head/shells/git-prompt.zsh: . files
Message-ID:  <201906291244.x5TCiHp5014144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906291244.x5TCiHp5014144>