aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-09-28 19:00:19 +0200
committerDavid Runge <dave@sleepmap.de>2021-09-28 19:00:19 +0200
commit8a2d21fd40c772802b47113e908b9523615df2d8 (patch)
tree81cd4b38142a922763749505a3c334c3b066bdfc /.zsh.after
parenta2c0fe3b17962658ef9d976f764bd57f0b873c9c (diff)
downloaddotfiles-8a2d21fd40c772802b47113e908b9523615df2d8.tar.gz
dotfiles-8a2d21fd40c772802b47113e908b9523615df2d8.tar.bz2
dotfiles-8a2d21fd40c772802b47113e908b9523615df2d8.tar.xz
dotfiles-8a2d21fd40c772802b47113e908b9523615df2d8.zip
zsh: add aliases for systemctl edit
.zsh.after/aliases.zsh: Add convenience aliases for systemctl edit.
Diffstat (limited to '.zsh.after')
-rw-r--r--.zsh.after/aliases.zsh2
1 files changed, 2 insertions, 0 deletions
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'