feat: launchctl helper
This commit is contained in:
parent
b376133477
commit
c4b2f89c82
@ -12,3 +12,8 @@ bindkey '^R' history-incremental-search-backward
|
|||||||
if [ -f "$HOME/Library/Application Support/dnvm/env" ]; then
|
if [ -f "$HOME/Library/Application Support/dnvm/env" ]; then
|
||||||
. "$HOME/Library/Application Support/dnvm/env"
|
. "$HOME/Library/Application Support/dnvm/env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
function service_restart() {
|
||||||
|
launchctl stop $1
|
||||||
|
launchctl start $1
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user