Permalink
Browse files

Get some @hgmnz magic in my psqlrc

  • Loading branch information...
1 parent 269c442 commit 36ca533cfc8d21ee4767f4c909aa9d210651692b @gabebw committed Mar 1, 2013
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 commented on 36ca533 Mar 1, 2013

approved. 👊

Owner

That \set HISTFILE business is sweet.

Please sign in to comment.