aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-02-17 18:29:02 +0100
committerDavid Runge <dave@sleepmap.de>2017-02-17 18:29:02 +0100
commit30a24336e33fb0a628ba312ba3072ceac2a8b1cc (patch)
tree21d8dc40354cd98291ec6d5c5f5dc3218a18ef59
parentede5f4607c0f19a7a92d8d819b9ac2838d46e1ee (diff)
downloaddotfiles-30a24336e33fb0a628ba312ba3072ceac2a8b1cc.tar.gz
dotfiles-30a24336e33fb0a628ba312ba3072ceac2a8b1cc.tar.bz2
dotfiles-30a24336e33fb0a628ba312ba3072ceac2a8b1cc.tar.xz
dotfiles-30a24336e33fb0a628ba312ba3072ceac2a8b1cc.zip
.zsh.after/aliases.zsh: Properly define systemctl --system list commands. Add a systemctl cat alias for user and system services.
-rw-r--r--.zsh.after/aliases.zsh11
1 files 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'