Mercurial > hg > zsh-env
view zshrc-systemd @ 157:ca7dbc6c6aae
add an alias to go directly to the exentra sources
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 27 Sep 2019 10:54:49 +0200 |
parents | 383ea800bf98 |
children |
line wrap: on
line source
function sc() { local SUDO="" if [[ $USER != "root" ]]; then SUDO="sudo" fi $SUDO systemctl $2 $1 }