🌟

OSX Dev Zsh Plugin

This plugin adds some commands for maintaining various server programs on my OSX install.

marshallmick007
|
13 stars
2 forks

OSX-Dev Oh-My-ZSH Plugin

This plugin adds some commands for maintaining various server programs on my OSX install. It was cobbled together from my previous mamp-control project, and various other sources, and "Works On My Machine™"

Installation

Antigen

Add antigen bundle marshallmick007/osx-dev-zsh-plugin to your .zshrc

oh-my-zsh

Fork this repo and add a git submodule to your Oh-My-ZSH custom/plugins directory

… Or, use this repo as is

cd ~/.oh-my-zsh/custom/plugins
git submodule add git@github.com:marshallmick007/osx-dev-zsh-plugin.git osx-dev

Then, add osx-dev to your loaded plugins in your .zshrc file

zgen

If you're using zgen, add zgen load marshallmick007/osx-dev-zsh-plugin to your .zshrc with your other plugins.

Commands

devstatus

Prints the current status of all of the servers below

NGINX

start-nginx
stop-nginx
restart-nginx
status-nginx

Apache

start-apache
stop-apache
restart-apache
status-apache

MySQL

start-mysql
stop-mysql
restart-mysql
status-mysql

MongoDB

start-mongodb
stop-mongodb
restart-mongodb
status-mongodb

Contributing

Any additions or bug-fixes are welcome, just create an issue and a Pull request

TODO

  • [ ] Add PID file locations to a user-configurable config file
  • [ ] Support for Unicode symbols
  • [ ] Extensibility for other server processes