Mercurial > hg > zsh-env
view zshrc-systemd @ 161:4500455b2375
Adjust filenames to the old pattern
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 07 Jan 2020 15:27:52 +0100 |
parents | 383ea800bf98 |
children |
line wrap: on
line source
function sc() { local SUDO="" if [[ $USER != "root" ]]; then SUDO="sudo" fi $SUDO systemctl $2 $1 }