view zshrc-systemd @ 151:55466fa02e0a

move the upload alias to a more generic place
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 05 Dec 2018 14:42:13 +0100
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

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