Skip to content

Commit

Permalink
Set PAGER to less if not set for psql mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tabletcorry committed Jul 4, 2012
1 parent 6ea0878 commit a8685bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modes/psql.sh
Expand Up @@ -10,5 +10,8 @@ function haxby::modes::help::psql {
} }


function haxby::modes::psql { function haxby::modes::psql {
if [ -z "$PAGER" ]; then
export PAGER=less
fi
psql $@ psql $@
} }

0 comments on commit a8685bb

Please sign in to comment.