view zshrc-systemd @ 154:c78e098abad3

update path to openjdk 11
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 03 May 2019 08:40:51 +0200
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

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