From 8a2d21fd40c772802b47113e908b9523615df2d8 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 28 Sep 2021 19:00:19 +0200 Subject: zsh: add aliases for systemctl edit .zsh.after/aliases.zsh: Add convenience aliases for systemctl edit. --- .zsh.after/aliases.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh index 80e4f29..6d3c3eb 100644 --- a/.zsh.after/aliases.zsh +++ b/.zsh.after/aliases.zsh @@ -87,6 +87,7 @@ alias sdujbf='journalctl --user -afb' alias sdujb='journalctl --user -ab' alias sdujp='journalctl --user _PID=' #show all messages of specified user process (PID) #systemd system services +alias sdsedit='sudo systemctl edit' alias sdsstart='sudo systemctl start' alias sdsstop='sudo systemctl stop' alias sdsrestart='sudo systemctl restart' @@ -117,6 +118,7 @@ alias sdsfail='sudo systemctl -a -l --no-legend --state=failed' alias sdsmask='sudo systemctl mask' alias sdsunmask='sudo systemctl unmask' #systemd user services +alias sduedit='systemctl --user edit' alias sdustart='systemctl --user start' alias sdustop='systemctl --user stop' alias sdurestart='systemctl --user restart' -- cgit v1.2.3-70-g09d2