view zshrc-systemd @ 166:92da49be823d

Configure the go environment
author Dirk Olmes <dirk.olmes@codedo.de>
date Sun, 01 Mar 2020 01:52:59 +0100
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

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