diff --git a/nix/base-system/.zshrc b/nix/base-system/.zshrc index 030e790..b4baa87 100644 --- a/nix/base-system/.zshrc +++ b/nix/base-system/.zshrc @@ -12,3 +12,8 @@ bindkey '^R' history-incremental-search-backward if [ -f "$HOME/Library/Application Support/dnvm/env" ]; then . "$HOME/Library/Application Support/dnvm/env" fi + +function service_restart() { + launchctl stop $1 + launchctl start $1 +}