]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: add systemctl list-paths
authorDavid Tardon <dtardon@redhat.com>
Mon, 20 Feb 2023 19:11:57 +0000 (20:11 +0100)
committerDavid Tardon <dtardon@redhat.com>
Tue, 21 Feb 2023 18:03:26 +0000 (19:03 +0100)
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in

index 3c64467e2fc45f44b5dd630e7aa2d032273d6eec..0e411f5a5fa8dd84934205a3de44aaedf768a178 100644 (file)
@@ -216,7 +216,7 @@ _systemctl () {
                              suspend-then-hibernate kexec list-jobs list-sockets
                              list-timers list-units list-unit-files poweroff
                              reboot rescue show-environment suspend get-default
-                             is-system-running preset-all list-automounts'
+                             is-system-running preset-all list-automounts list-paths'
         [FILE]='link switch-root bind mount-image'
         [TARGETS]='set-default'
         [MACHINES]='list-machines'
index 2811582236dd69fb976c921eccf8d213369d66b4..9df9e571a1b765921da99d2af7da6c08204cd417 100644 (file)
@@ -8,6 +8,7 @@
     local -a unit_commands=(
         # Unit Commands
         "list-automounts:List automounts"
+        "list-paths:List paths"
         "list-sockets:List sockets"
         "list-timers:List timers"
         "list-units:List units"