diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 4843658..0cc70d9 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -39,6 +39,11 @@ function ng-restart() { sudo launchctl start homebrew.mxcl.nginx } +function dns-restart() { + sudo launchctl stop homebrew.mxcl.dnsmasq + sudo launchctl start homebrew.mxcl.dnsmasq +} + # Start an HTTP server from a directory, optionally specifying the port function server() {