From 9b2570a5f6aa6ab39750fed4043b69a7700e8212 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 24 Mar 2013 15:45:19 +0100 Subject: [PATCH] mysql/my.conf: Add. MySQL client configuration file. --- mysql/my.cnf | 21 +++++++++++++++++++++ setup.sh | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 mysql/my.cnf diff --git a/mysql/my.cnf b/mysql/my.cnf new file mode 100644 index 0000000..2c2f29b --- /dev/null +++ b/mysql/my.cnf @@ -0,0 +1,21 @@ +# MySQL client configuration file. + +# Copyright (C) 2009-2013 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 . + + +[mysql] +# Always use the pager. +pager diff --git a/setup.sh b/setup.sh index f64aa37..15c521e 100755 --- a/setup.sh +++ b/setup.sh @@ -2,7 +2,7 @@ # Setup script for miscellaneous configuration files. -# Copyright (C) 2009-2012 Simon Ruderich +# Copyright (C) 2009-2013 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -37,6 +37,11 @@ if installed maxima; then link maxima ~/.maxima fi +# MySQL client +if installed mysql; then + link mysql/my.cnf ~/.my.cnf +fi + # perlcritic to check Perl programs for common problems. if installed perlcritic; then link perl/perlcriticrc ~/.perlcriticrc -- 2.44.1