diff options
author | Pat Regan <thehead@patshead.com> | 2011-04-27 04:56:44 -0400 |
---|---|---|
committer | Pat Regan <thehead@patshead.com> | 2011-04-27 04:56:44 -0400 |
commit | dc76c5694dda120fcac02b2d75ef0a149de94a2f (patch) | |
tree | 0a4043b579fc4f2306df52180495940792492a32 /plugins/mysql-macports | |
parent | 886af72125a108c2f928474c7f817dd2c164795e (diff) | |
parent | 70d0beae22e7d97d4380af32dae1618f45e3dd4b (diff) | |
download | zsh-dc76c5694dda120fcac02b2d75ef0a149de94a2f.tar.gz zsh-dc76c5694dda120fcac02b2d75ef0a149de94a2f.tar.bz2 zsh-dc76c5694dda120fcac02b2d75ef0a149de94a2f.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/mysql-macports')
-rw-r--r-- | plugins/mysql-macports/mysql-macports.plugin.zsh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mysql-macports/mysql-macports.plugin.zsh b/plugins/mysql-macports/mysql-macports.plugin.zsh new file mode 100644 index 000000000..c39563fe4 --- /dev/null +++ b/plugins/mysql-macports/mysql-macports.plugin.zsh @@ -0,0 +1,8 @@ +# commands to control local mysql-server installation +# paths are for osx installation via macports + +alias mysqlstart='sudo /opt/local/share/mysql5/mysql/mysql.server start' +alias mysqlstop='sudo /opt/local/share/mysql5/mysql/mysql.server stop' +alias mysqlrestart='sudo /opt/local/share/mysql5/mysql/mysql.server restart' + +alias mysqlstatus='mysqladmin5 -u root -p ping' |