Browse files

Added systemd plugin with aliases for systemctl commands.

  • Loading branch information...
1 parent 73f7770 commit 58d904a28960f6962eb27a6105e83d57cb553aba @aelesbao aelesbao committed Oct 1, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 plugins/systemd/systemd.plugin.zsh
@@ -0,0 +1,11 @@
+ list-units is-active status show help list-unit-files
+ is-enabled list-jobs show-environment)
+ start stop reload restart try-restart isolate kill
+ reset-failed enable disable reenable preset mask unmask
+ link load cancel set-environment unset-environment)
+for c in $user_commands; do; alias sc-$c="systemctl $c"; done
+for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done

0 comments on commit 58d904a

Please sign in to comment.