mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
added plugin to control macports mysql-server installation
This commit is contained in:
parent
47e9914529
commit
6bb13632f5
1 changed files with 6 additions and 0 deletions
6
plugins/mysql-macports.plugin.zsh
Normal file
6
plugins/mysql-macports.plugin.zsh
Normal file
|
@ -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'
|
Loading…
Reference in a new issue