conf2/zsh/.oh-my-zsh/plugins/apache2-macports/README.md

22 lines
735 B
Markdown
Raw Normal View History

2020-06-11 14:41:32 +00:00
# apache2-macports plugin
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
Enables aliases to control a local Apache2 installed via [MacPorts](https://www.macports.org/).
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
To use it, add `apache2-macports` to the plugins array in your zshrc file:
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
```zsh
plugins=(... apache2-macports)
```
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
## Aliases
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
| Alias | Function | Description |
|----------------|-----------------------------------------|-----------------------|
| apache2restart | `sudo /path/to/apache2.wrapper restart` | Restart apache daemon |
| apache2start | `sudo /path/to/apache2.wrapper start` | Start apache daemon |
| apache2stop | `sudo /path/to/apache2.wrapper stop` | Stop apache daemon |
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
## Contributors
2019-01-12 15:47:23 +00:00
2020-06-11 14:41:32 +00:00
- Alexander Rinass (alex@rinass.net)