Mercurial > hg > zsh-env
view zshrc-systemd @ 144:383ea800bf98
include sudo
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 17 Sep 2018 09:19:03 +0200 |
parents | 129d5bcd9814 |
children |
line wrap: on
line source
function sc() { local SUDO="" if [[ $USER != "root" ]]; then SUDO="sudo" fi $SUDO systemctl $2 $1 }