view zshrc-systemd @ 174:5da4de3d7ee1

remove files from /var/tmp/genkernel and /lib/modules, too
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 09 Apr 2020 11:21:59 +0200
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

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