summaryrefslogtreecommitdiff
path: root/plugins/systemd
diff options
context:
space:
mode:
authorAndrew Janke <andrew@apjanke.net>2015-08-31 13:29:54 -0400
committerAndrew Janke <andrew@apjanke.net>2015-09-03 12:50:55 -0400
commit82c76f6b5c2718622a532fb759231e8d24171413 (patch)
treeb0126f6d9b3ed508c1a6d9b21df56e2523e0555f /plugins/systemd
parentfe92ea98e0633784508e85d6b756b1c3f667b2a4 (diff)
parentba5fd57c1ff4a8523715bab6acc35dbbeff88af7 (diff)
downloadzsh-82c76f6b5c2718622a532fb759231e8d24171413.tar.gz
zsh-82c76f6b5c2718622a532fb759231e8d24171413.tar.bz2
zsh-82c76f6b5c2718622a532fb759231e8d24171413.zip
Merge changes from #4241 into installer-portable-colors
Conflicts: tools/install.sh tools/upgrade.sh
Diffstat (limited to 'plugins/systemd')
-rw-r--r--plugins/systemd/systemd.plugin.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh
index 7d3db0f8e..07eb595a6 100644
--- a/plugins/systemd/systemd.plugin.zsh
+++ b/plugins/systemd/systemd.plugin.zsh
@@ -1,11 +1,12 @@
user_commands=(
list-units is-active status show help list-unit-files
- is-enabled list-jobs show-environment)
+ is-enabled list-jobs show-environment cat)
sudo_commands=(
start stop reload restart try-restart isolate kill
reset-failed enable disable reenable preset mask unmask
- link load cancel set-environment unset-environment)
+ link load cancel set-environment unset-environment
+ edit)
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