Skip to content

Commit

Permalink
Add psql configuration
Browse files Browse the repository at this point in the history
For the Postgres command-line.
  • Loading branch information
robmiller committed Oct 28, 2015
1 parent 770c7d6 commit 3bddf4c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,6 @@
[submodule "vim/bundle/vim-ruby-fold"]
path = vim/bundle/vim-ruby-fold
url = git@github.com:bruno-/vim-ruby-fold.git
[submodule "vim/bundle/vim-rubocop"]
path = vim/bundle/vim-rubocop
url = git@github.com:ngmy/vim-rubocop.git
17 changes: 17 additions & 0 deletions psqlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
\set QUIET 1

\set ON_ERROR_ROLLBACK interactive

\set PROMPT1 '%[%033[1m%]%M %n@%/%R%[%033[0m%]%# '
\set PROMPT2 'more %R > '
\timing
\set COMP_KEYWORD_CASE upper
\set VERBOSITY verbose

\set HISTFILE ~/.psql_history- :DBNAME
\set HISTCONTROL ignoredups

\pset null (null)
\x auto

\unset QUIET
1 change: 1 addition & 0 deletions vim/bundle/vim-rubocop
Submodule vim-rubocop added at 1c5791

0 comments on commit 3bddf4c

Please sign in to comment.