mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-14 09:50:08 +00:00
610b2529d2
- fasd - history - mercurial - pylint - repo - yii2
21 lines
735 B
Markdown
21 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)
|