From 55457187d18221e76bd12f0fb2cfab65c49b92fb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 5 Mar 2019 01:09:01 +0100 Subject: Initial commit --- .oh-my-zsh/plugins/apache2-macports/README.md | 19 +++++++++++++++++++ .../apache2-macports/apache2-macports.plugin.zsh | 6 ++++++ 2 files changed, 25 insertions(+) create mode 100644 .oh-my-zsh/plugins/apache2-macports/README.md create mode 100644 .oh-my-zsh/plugins/apache2-macports/apache2-macports.plugin.zsh (limited to '.oh-my-zsh/plugins/apache2-macports') 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' -- cgit v1.2.3