diff options
Diffstat (limited to '')
-rw-r--r-- | shell-completion/zsh/_systemd-path | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shell-completion/zsh/_systemd-path b/shell-completion/zsh/_systemd-path new file mode 100644 index 0000000..dd2e720 --- /dev/null +++ b/shell-completion/zsh/_systemd-path @@ -0,0 +1,8 @@ +#compdef systemd-path + +typeset -A sdpath=( ${$(systemd-path)/:/} ) +_arguments -S \ + '(-h --help)'{-h,--help}'[Print help text and exit]' \ + '(-v --version)'{-v,--version}'[Print a version string and exit]' \ + '--suffix=[Append a suffix to the paths]' \ + '*:pathname:compadd -k sdpath' |