diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 345f1dd..a6fbc04 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -28,6 +28,17 @@ function f() { find . -name "$1" } +function ng-stop() { + sudo launchctl stop homebrew.mxcl.nginx +} + +function ng-start() { + sudo launchctl start homebrew.mxcl.nginx +} +function ng-restart() { + sudo launchctl start homebrew.mxcl.nginx +} + # Start an HTTP server from a directory, optionally specifying the port function server() {