From: Simon Ruderich Date: Sun, 24 Mar 2013 14:45:19 +0000 (+0100) Subject: mysql/my.conf: Add. MySQL client configuration file. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=9b2570a5f6aa6ab39750fed4043b69a7700e8212;p=config%2Fdotfiles.git mysql/my.conf: Add. MySQL client configuration file. --- 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