summaryrefslogtreecommitdiff
path: root/plugins/mysql
diff options
context:
space:
mode:
authorNanoTech <nanotech008@gmail.com>2010-10-19 15:39:27 -0600
committerNanoTech <nanotech008@gmail.com>2010-10-19 15:39:27 -0600
commit68f893cbe05e5a84adf7f26a0ed7492af6e03def (patch)
tree81b436518d3552f47a02f44963e84700627d1bec /plugins/mysql
parent02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7 (diff)
parentdc12853b0c3e5af9e42f44cb9efdf57d44d20711 (diff)
downloadzsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.tar.gz
zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.tar.bz2
zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/mysql')
-rw-r--r--plugins/mysql/mysql-macports.plugin.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mysql/mysql-macports.plugin.zsh b/plugins/mysql/mysql-macports.plugin.zsh
new file mode 100644
index 000000000..63b881c9f
--- /dev/null
+++ b/plugins/mysql/mysql-macports.plugin.zsh
@@ -0,0 +1,6 @@
+# commands to control local mysql-server installation
+# paths are for osx installtion via macports
+
+alias mysqlstart='sudo /opt/local/bin/mysqld_safe5'
+alias mysqlstop='/opt/local/bin/mysqladmin5 -u root -p shutdown'
+alias mysqlstatus='mysqladmin5 -u root -p ping' \ No newline at end of file