mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-11 23:53:43 +08:00
610b2529d2
- fasd - history - mercurial - pylint - repo - yii2
22 lines
735 B
Markdown
22 lines
735 B
Markdown
# 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)
|