shells/git-prompt.zsh: Use UCL pkg-message only shown upon install

Reported by:	mat
This commit is contained in:
Joseph Mingrone 2019-06-29 12:44:16 +00:00
parent e221f174d4
commit d370f12589
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505347
2 changed files with 13 additions and 8 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= git-prompt.zsh
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= shells
MAINTAINER= jrm@FreeBSD.org

View file

@ -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
}
]