Mercurial > hg > zsh-env
view zshrc-systemd @ 160:c35d56590441
add the two helper scripts for gentoo that are requied on all hosts
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 23 Dec 2019 11:41:35 +0100 |
parents | 383ea800bf98 |
children |
line wrap: on
line source
function sc() { local SUDO="" if [[ $USER != "root" ]]; then SUDO="sudo" fi $SUDO systemctl $2 $1 }