diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-07-22 12:58:46 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-07-22 12:58:46 +0000 |
commit | 7bec851de4ff39f4a8ee53b54139df87f2b7918c (patch) | |
tree | 0e0388648cbeb138c2859a05cb6bddfb20f93232 /shells | |
parent | 0dea48df53e79ba49faacc2451e620eaa156a032 (diff) | |
download | ports-7bec851de4ff39f4a8ee53b54139df87f2b7918c.tar.gz ports-7bec851de4ff39f4a8ee53b54139df87f2b7918c.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/git-prompt.zsh/Makefile | 2 | ||||
-rw-r--r-- | shells/git-prompt.zsh/files/pkg-message.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shells/git-prompt.zsh/Makefile b/shells/git-prompt.zsh/Makefile index 0769e779d989..e6fcf8475ffb 100644 --- a/shells/git-prompt.zsh/Makefile +++ b/shells/git-prompt.zsh/Makefile @@ -3,6 +3,7 @@ PORTNAME= git-prompt.zsh DISTVERSIONPREFIX= v DISTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= shells MAINTAINER= jrm@FreeBSD.org @@ -21,6 +22,7 @@ NO_ARCH= yes NO_BUILD= yes PLIST_FILES= ${DATADIR}/${PORTNAME} ${DOCSDIR}/README.md SUB_FILES= pkg-message +SUB_LIST+= PORTNAME=${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/shells/git-prompt.zsh/files/pkg-message.in b/shells/git-prompt.zsh/files/pkg-message.in index 684ebd3e0ea4..b578f0eb48a3 100644 --- a/shells/git-prompt.zsh/files/pkg-message.in +++ b/shells/git-prompt.zsh/files/pkg-message.in @@ -6,7 +6,7 @@ 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 -source %%DATADIR%%${PORTNAME}/${PORTNAME} +source %%DATADIR%%/%%PORTNAME%% Next, add ' $(gitprompt)%# ' to the end of the PROMPT value like in the example below. |