Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marshallmick007/osx-dev-zsh-plugin
This plugin adds some commands for maintaining various server programs on my OSX install.
https://github.com/marshallmick007/osx-dev-zsh-plugin
Last synced: about 2 months ago
JSON representation
This plugin adds some commands for maintaining various server programs on my OSX install.
- Host: GitHub
- URL: https://github.com/marshallmick007/osx-dev-zsh-plugin
- Owner: marshallmick007
- Created: 2013-10-27T16:11:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-05T17:57:01.000Z (over 8 years ago)
- Last Synced: 2024-01-24T12:13:01.269Z (4 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Lists
- awesome-zsh-plugins - osx-dev - This plugin adds some commands for maintaining various server programs on a macOS install. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - osx-dev - This plugin adds some commands for maintaining various server programs on a macOS install. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - osx-dev - This plugin adds some commands for maintaining various server programs on a macOS install. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - osx-dev - This plugin adds some commands for maintaining various server programs on my macOS install. (Plugins / Zinit (née zplugin))
README
# 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](https://github.com/marshallmick007/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
```shell
cd ~/.oh-my-zsh/custom/plugins
git submodule add [email protected]: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](https://github.com/tarjoilija/zgen), add `zgen load marshallmick007/osx-dev-zsh-plugin` to your .zshrc with your other plugins.
## Commands
```shell
devstatus
```Prints the current status of all of the servers below
### NGINX
```shell
start-nginx
stop-nginx
restart-nginx
status-nginx
```### Apache
```shell
start-apache
stop-apache
restart-apache
status-apache
```### MySQL
```shell
start-mysql
stop-mysql
restart-mysql
status-mysql
```### MongoDB
```shell
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