mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
shells/git-prompt.zsh: Use UCL pkg-message only shown upon install
Reported by: mat
This commit is contained in:
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
|
@ -3,7 +3,7 @@
|
|||
PORTNAME= git-prompt.zsh
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.1.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= shells
|
||||
|
||||
MAINTAINER= jrm@FreeBSD.org
|
||||
|
|
|
@ -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
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue