aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-11-28 14:32:23 +0100
committerDavid Runge <david.runge@frqrec.com>2014-11-28 14:32:23 +0100
commitb7797ef274297fbedda0aa8ccc1754e218955f60 (patch)
treefa456e5dcbd9b9d6d2237547f57fe9ae756f8712
parenta9865c097b98586fe1408af0796923dfc9f89810 (diff)
downloaddotfiles-b7797ef274297fbedda0aa8ccc1754e218955f60.tar.gz
dotfiles-b7797ef274297fbedda0aa8ccc1754e218955f60.tar.bz2
dotfiles-b7797ef274297fbedda0aa8ccc1754e218955f60.tar.xz
dotfiles-b7797ef274297fbedda0aa8ccc1754e218955f60.zip
aliases.zsh: Adding more systemd aliases.
-rw-r--r--.zsh.after/aliases.zsh12
1 files changed, 6 insertions, 6 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 6b36ac5..d9e360f 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -49,12 +49,6 @@ alias treeg='tree -d /cgroup/systemd/'
alias sdptree='tree -aC /usr/lib/systemd/'
alias sdstree='tree -aC /etc/systemd/'
alias sdutree='tree -aC $HOME/.config/systemd/'
-#systemctl
-alias sdl='sudo systemctl --all'
-alias sdlerr='sudo systemctl --all --full |grep error'
-alias sdlfail='sudo systemctl --all --full |grep failed'
-#timers
-alias sdt='sudo systemctl list-timers'
#journalctl
alias sdj='sudo journalctl'
alias sdjf='sudo journalctl -f' #Follow the messages
@@ -84,6 +78,9 @@ alias sdsbefore='sudo systemctl show -p "Before"'
alias sdsafter='sudo systemctl show -p "After"'
alias sdst='sudo systemctl list-timers'
alias sdsreload='sudo systemctl daemon-reload'
+alias sds='sudo systemctl --all'
+alias sdserr='sudo systemctl --all --full |grep error'
+alias sdsfail='sudo systemctl --all --full |grep failed'
#systemd user services
alias sdustart='systemctl --user start'
alias sdustop='systemctl --user stop'
@@ -105,6 +102,9 @@ alias sdubefore='systemctl --user show -p "Before"'
alias sduafter='systemctl --user show -p "After"'
alias sdut='systemctl --user list-timers'
alias sdureload='systemctl --user daemon-reload'
+#alias sdu='systemctl --user'
+alias sduerr='systemctl --user --all --full |grep error'
+alias sdufail='systemctl --user --all --full |grep failed'
#poweroff/reboot/isolate
alias sdiso='sudo systemctl isolate '
alias sdreboot='sudo systemctl reboot'