Mercurial > hg > zsh-env
view zshrc-systemd @ 181:f6df36a328b5
also replace the git config
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Tue, 04 Aug 2020 11:22:16 +0200 |
parents | 383ea800bf98 |
children |
line wrap: on
line source
function sc() { local SUDO="" if [[ $USER != "root" ]]; then SUDO="sudo" fi $SUDO systemctl $2 $1 }