view zshrc-systemd @ 186:0e22ae080bf1

keychain für den ssh agent benutzen
author Dirk Olmes <dirk.olmes@codedo.de>
date Fri, 09 Dec 2022 08:25:36 +0100
parents 383ea800bf98
children
line wrap: on
line source

function sc() {
	local SUDO=""

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