dotfiles/zsh/.local/share/oh-my-zsh/.oh-my-zsh/plugins/apache2-macports/README.md

22 lines
735 B
Markdown
Raw Normal View History

2024-06-19 00:06:56 +02:00
# apache2-macports plugin
Enables aliases to control a local Apache2 installed via [MacPorts](https://www.macports.org/).
To use it, add `apache2-macports` to the plugins array in your zshrc file:
```zsh
plugins=(... apache2-macports)
```
## Aliases
| 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 |
## Contributors
- Alexander Rinass (alex@rinass.net)