summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-12-10 01:10:01 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2014-12-10 01:10:01 +0100
commit409886c424cfaeeb5cf8928905560e5cac2d492d (patch)
tree615c7fb6dba7f85a092fb26026751078ee31f5c4 /shell-completion/zsh
parent17c29493dc5c4c3ca886adfdc632d297c5eb06eb (diff)
shell-completion: systemctl edit
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r--shell-completion/zsh/_systemctl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 7eefe53aec..04cd94518a 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -33,6 +33,7 @@
"preset:Enable/disable one or more unit files based on preset configuration"
"set-default:Set the default target"
"get-default:Query the default target"
+ "edit:Edit one or more unit files"
"is-system-running:Query overall status of the system"
"help:Show documentation for specified units"
"list-dependencies:Show unit dependency tree"
@@ -170,7 +171,7 @@ _systemctl_disabled_units(){_sys_disabled_units=($(__systemctl list-unit-files
_systemctl_masked_units() {_sys_masked_units=( $(__systemctl list-unit-files | { while read -r a b; do [[ $b == "masked" ]] && echo -E - " $a"; done; }) )}
# Completion functions for ALL_UNITS
-for fun in is-active is-failed is-enabled status show cat mask preset help list-dependencies ; do
+for fun in is-active is-failed is-enabled status show cat mask preset help list-dependencies edit ; do
(( $+functions[_systemctl_$fun] )) || _systemctl_$fun()
{
_systemctl_really_all_units