Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Get some @hgmnz magic in my psqlrc

  • Loading branch information...
commit 36ca533cfc8d21ee4767f4c909aa9d210651692b 1 parent 269c442
@gabebw authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 psqlrc
View
5 psqlrc
@@ -1,6 +1,7 @@
-- vim: ft=sql
-- http://craigkerstiens.com/2013/02/13/How-I-Work-With-Postgres/
+-- https://github.com/hgmnz/dotfiles/blob/master/psqlrc
-- http://www.postgresql.org/docs/8.3/static/app-psql.html
\pset null 'NULL'
@@ -10,3 +11,7 @@
-- Use best available output format
\x auto
+
+\set VERBOSITY verbose
+\set HISTFILE ~/.psql_history- :DBNAME
+\set HISTCONTROL ignoredups

2 comments on commit 36ca533

@hgmnz

approved. :punch:

@gabebw
Owner

That \set HISTFILE business is sweet.

Please sign in to comment.
Something went wrong with that request. Please try again.