link mysql/my.cnf ~/.my.cnf
fi
+if installed sqlite3; then
+ # sqlite3 doesn't support any comments in sqliterc.
+ grep -v -E '^#' sqlite/sqliterc.in >sqlite/sqliterc
+ link sqlite/sqliterc ~/.sqliterc
+fi
+
# perlcritic to check Perl programs for common problems.
if installed perlcritic; then
link perl/perlcriticrc ~/.perlcriticrc
--- /dev/null
+# sqlite3 configuration file.
+#
+# sqlite3 doesn't support comments in ~/.sqliterc. They must be stripped
+# before using this file.
+
+# Copyright (C) 2014 Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Enable column output mode with headers. Used for SELECT statements and makes
+# them more readable.
+.mode column
+.headers on
+
+# Display NULL value as "NULL".
+.nullvalue NULL