Date: Fri, 28 Jun 2019 23:53:17 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Joseph Mingrone <jrm@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r505291 - in head/shells/git-prompt.zsh: . files Message-ID: <20190628215317.gzinkmljklyskcdw@atuin.in.mat.cc> In-Reply-To: <201906281622.x5SGMHuQ069722@repo.freebsd.org> References: <201906281622.x5SGMHuQ069722@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--wpkawurmazhdmw7d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 28, 2019 at 04:22:17PM +0000, Joseph Mingrone wrote: > shells/git-prompt.zsh: Add installation instructions in pkg-message >=20 So, you say installation instructions, but you create a pkg-message that is also shown during upgrades, which is suboptimal. To discover how to make that happen, please have a look at: https://www.freebsd.org/doc/en/books/porters-handbook/pkg-files.html#portin= g-message (You should also remove the =3D=3D=3D lines around the message.) > Added: head/shells/git-prompt.zsh/files/pkg-message.in > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /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 2= 019 (r505291) > @@ -0,0 +1,21 @@ > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +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=3D'%n@%m %~ $(gitprompt)%# ' > + > +For details, refer to > + > +%%DOCSDIR%%/README.md > + > +or > + > +https://github.com/woefe/git-prompt.zsh > + > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 --=20 Mathieu Arnold --wpkawurmazhdmw7d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAl0WjE1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkizmg/+NOTiuTwWDQ8vPgKro+LqECCHJMb4sDVtnHEUxdPzjIfke7EJBBjWnHuk b5To0dfObv8maKWjhsTS7S91fTv60uZGNz9Jr9LvN8qQuF4Pt4uVp8kgjRcVJO26 Ko2wo8GdzQ38le/r5UzWoBUN6w3pKt49i+/JXQlwM2LYVWnkQwBu/T2loPwQfX5K zrMaZXROu7Uyxc23iQHn/uEBXpovtRM1OLmFV/pdQuDTT4+st8UDpWIxUnVbaVEJ mgZk0lPDN50CbgDNjkpRPZBAeQnwmkJu5fXQhBKrmuZKNrXLblZRU4RD/0LUGpnf fT7knMXIx3p6GLfeq4x+S0XWPXhsZN+XS0tG8MOORvN15429YqRx4b7PQ0tyEFry 3mM0YOV81VrfKEbMZ0Au99gS5eHqTA4XiMzQDlT4KE0R3HGB447K+HGvt3bG5rn1 Smx8afKo87iVnDM23RK3Z7HU1Xurrhjy0snP6JpGyrjFK1J79mgc1HCBBZelb5iV zivx8x9QO1aXv0skLgVAAKJy5WUCLCj6qoUE//Ibj4VJWQHk11FHvNjt8FTrWZs6 0UGHfRPqq7mjHJayqML5y7llFo475wzpj9MXJ6rk6J+vrkxj96fIMnBv/GslkNrz O4BZLUly2697mYuSDZyp/XllHdJ/lMxqUUm/yQATMl8MK/QGUww= =V8RJ -----END PGP SIGNATURE----- --wpkawurmazhdmw7d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190628215317.gzinkmljklyskcdw>