From 30a24336e33fb0a628ba312ba3072ceac2a8b1cc Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 17 Feb 2017 18:29:02 +0100 Subject: .zsh.after/aliases.zsh: Properly define systemctl --system list commands. Add a systemctl cat alias for user and system services. --- .zsh.after/aliases.zsh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh index f7c6ac9..c0cd73a 100644 --- a/.zsh.after/aliases.zsh +++ b/.zsh.after/aliases.zsh @@ -101,10 +101,12 @@ alias sdsconflicts='sudo systemctl show -p "Conflicts"' alias sdsconflictedby='sudo systemctl show -p "ConflictedBy"' alias sdsbefore='sudo systemctl show -p "Before"' alias sdsafter='sudo systemctl show -p "After"' -alias sdst='sudo systemctl list-timers' -alias sdss='sudo systemctl list-sockets' -alias sdsu='sudo systemctl list-units' -alias sdsdep='sudo systemctl list-dependencies' +alias sdst='sudo systemctl --system list-timers' +alias sdss='sudo systemctl --system list-sockets' +alias sdsu='sudo systemctl --system list-units' +alias sdsuf='sudo systemctl --system list-unit-files' +alias sdsdep='sudo systemctl --system list-dependencies' +alias sdscat='sudo systemctl --system cat' alias sdsreload='sudo systemctl daemon-reload' alias sds='sudo systemctl -a' alias sdsfail='sudo systemctl -a -l --no-legend --state=failed' @@ -133,6 +135,7 @@ alias sdut='systemctl --user list-timers' alias sdus='systemctl --user list-sockets' alias sduu='systemctl --user list-units' alias sdudep='systemctl --user list-dependencies' +alias sducat='sudo systemctl --user cat' alias sdureload='systemctl --user daemon-reload' #alias sdu='systemctl --user' alias sdufail='systemctl --user -a -l --no-legend --state=failed' -- cgit v1.2.3-70-g09d2