mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
commit
8f957c230c
7 changed files with 143 additions and 13 deletions
|
|
@ -31,6 +31,7 @@ _1st_arguments=(
|
|||
'search:search for a formula (/regex/ or string)'
|
||||
'unlink:unlink a formula'
|
||||
'update:freshen up links'
|
||||
'upgrade:upgrade outdated formulae'
|
||||
'uses:show formulas which depend on a formula'
|
||||
)
|
||||
|
||||
|
|
|
|||
8
plugins/mysql-macports/mysql-macports.plugin.zsh
Normal file
8
plugins/mysql-macports/mysql-macports.plugin.zsh
Normal file
|
|
@ -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'
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
# 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…
Add table
Add a link
Reference in a new issue