aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-16 18:02:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-16 18:02:53 +1200
commitfe0f0d9adf972d703a9c290c5734042d6d80b37a (patch)
tree43429af9e41ed445ce0397b3172474752a2acdeb /install
parentRemove vestigial reference to speeddating (diff)
downloaddotfiles-fe0f0d9adf972d703a9c290c5734042d6d80b37a.tar.gz
dotfiles-fe0f0d9adf972d703a9c290c5734042d6d80b37a.zip
Added basic dotfiles for mysql/psql
Diffstat (limited to 'install')
-rwxr-xr-xinstall7
1 files changed, 6 insertions, 1 deletions
diff --git a/install b/install
index 7c6c7d2d..ace0e6cf 100755
--- a/install
+++ b/install
@@ -10,6 +10,7 @@
# Bash, cURL, Git, Vim, and some terminfo(5) definitions. You can supply
# additional flags to link in other configuration files:
#
+# -d -- mysql/psql
# -g -- GnuPG
# -m -- Mutt
# -n -- Newsbeuter
@@ -83,8 +84,12 @@ lns "$dotfiles"/vim/vimrc "$HOME"/.vimrc
lns "$dotfiles"/vim "$HOME"/.vim
# Link in shell stuff
-while getopts :gmntx opt; do
+while getopts :dgmntx opt; do
case $opt in
+ d)
+ lns "$dotfiles"/mysql/my.cnf "$HOME"/.my.cnf
+ lns "$dotfiles"/psql/psqlrc "$HOME"/.psqlrc
+ ;;
g)
mkdir -p -- "$HOME"/.gnupg
lns "$dotfiles"/gnupg/gpg.conf "$HOME"/.gnupg/gpg.conf