view zshrc-systemd @ 164:20ac5fedc060

remove the locale hack
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 20 Jan 2020 10:12:48 +0100
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

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