From owner-svn-ports-all@freebsd.org Fri Jun 28 16:22:19 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD0A115C5A36; Fri, 28 Jun 2019 16:22:18 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FFD977AC5; Fri, 28 Jun 2019 16:22:18 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5AC2F144B; Fri, 28 Jun 2019 16:22:18 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5SGMIx5069723; Fri, 28 Jun 2019 16:22:18 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5SGMHuQ069722; Fri, 28 Jun 2019 16:22:17 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201906281622.x5SGMHuQ069722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Fri, 28 Jun 2019 16:22:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505291 - in head/shells/git-prompt.zsh: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jrm X-SVN-Commit-Paths: in head/shells/git-prompt.zsh: . files X-SVN-Commit-Revision: 505291 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7FFD977AC5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 16:22:19 -0000 Author: jrm Date: Fri Jun 28 16:22:17 2019 New Revision: 505291 URL: https://svnweb.freebsd.org/changeset/ports/505291 Log: shells/git-prompt.zsh: Add installation instructions in pkg-message Added: head/shells/git-prompt.zsh/files/ head/shells/git-prompt.zsh/files/pkg-message.in (contents, props changed) Modified: head/shells/git-prompt.zsh/Makefile (contents, props changed) Modified: head/shells/git-prompt.zsh/Makefile ============================================================================== --- head/shells/git-prompt.zsh/Makefile Fri Jun 28 15:54:28 2019 (r505290) +++ head/shells/git-prompt.zsh/Makefile Fri Jun 28 16:22:17 2019 (r505291) @@ -3,6 +3,7 @@ PORTNAME= git-prompt.zsh DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= shells MAINTAINER= jrm@FreeBSD.org @@ -19,10 +20,13 @@ GH_ACCOUNT= woefe NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= ${DATADIR}/${PORTNAME} +PLIST_FILES= ${DATADIR}/${PORTNAME} ${DOCSDIR}/README.md +SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR} .include 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 + +=============================================================