view zshrc-systemd @ 152:62c9cbe45942

update JDK11 path
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 04 Feb 2019 09:29:36 +0100
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

	if [[ $USER != "root" ]]; then
		SUDO="sudo"
	fi
	$SUDO systemctl $2 $1
}