databases/pspg: Update pkg-message: Improved the alias suggestion

PR:		223805
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Reported by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13195
This commit is contained in:
Yuri Victorovich 2017-11-23 05:48:20 +00:00
parent ebacab86c7
commit 42296a29ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454739
3 changed files with 6 additions and 7 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= pspg
DISTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= dg@syrec.org
@ -19,6 +20,8 @@ CFLAGS+= -D_WITH_GETLINE # enable the getline prototype
PLIST_FILES= bin/pspg
PORTDOCS= README.md
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-install:

View file

@ -0,0 +1,3 @@
To use pspg as psql pager, add this line to ~/.psqlrc:
\setenv PAGER '%%PREFIX%%/bin/pspg -bX'

View file

@ -1,7 +0,0 @@
To use pspg as psql pager, add this alias:
$ alias psql="env PAGER='pspg -bX' psql"
For csh users:
$ alias psql "env PAGER='pspg -bX' psql"