diff options
Diffstat (limited to '.oh-my-zsh/plugins/apache2-macports')
-rw-r--r-- | .oh-my-zsh/plugins/apache2-macports/README.md | 19 | ||||
-rw-r--r-- | .oh-my-zsh/plugins/apache2-macports/apache2-macports.plugin.zsh | 6 |
2 files changed, 25 insertions, 0 deletions
diff --git a/.oh-my-zsh/plugins/apache2-macports/README.md b/.oh-my-zsh/plugins/apache2-macports/README.md new file mode 100644 index 0000000..099fc8d --- /dev/null +++ b/.oh-my-zsh/plugins/apache2-macports/README.md @@ -0,0 +1,19 @@ +## APACHE2 MACPORTS PLUGIN + + +--- + +### FEATURES + +| Alias | Function | Description | +|:--------------:|:-------------------------------------------------------------------------------|----------------------:| +| apache2restart | sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart | Restart apache daemon | +| apache2start | sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start | Start apache daemon | +| apache2stop | sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop | Stop apache daemon | + +--- + +### CONTRIBUTORS + - Alexander Rinass (alex@rinass.net) + +--- diff --git a/.oh-my-zsh/plugins/apache2-macports/apache2-macports.plugin.zsh b/.oh-my-zsh/plugins/apache2-macports/apache2-macports.plugin.zsh new file mode 100644 index 0000000..1caa4cf --- /dev/null +++ b/.oh-my-zsh/plugins/apache2-macports/apache2-macports.plugin.zsh @@ -0,0 +1,6 @@ +# commands to control local apache2 server installation +# paths are for osx installation via macports + +alias apache2start='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start' +alias apache2stop='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop' +alias apache2restart='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart' |