config/shell/functions: do not double systemctl status

This commit is contained in:
xeruf 2022-01-25 14:02:37 +01:00
parent e8c2f0809f
commit a5250eca33
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ alias sc='sudo systemctl'
alias sce='sudo systemctl enable --now' alias sce='sudo systemctl enable --now'
alias scd='sudo systemctl disable --now' alias scd='sudo systemctl disable --now'
scs() { scs() {
systemctl --user status "*$1*" "$1" || systemctl --user status "*$1*" ||
sudo systemctl status "*$1*" "$1" sudo systemctl status "*$1*"
} }
alias scu='systemctl --user' alias scu='systemctl --user'
alias scue='systemctl --user enable --now' alias scue='systemctl --user enable --now'