shell-completion/zsh/_systemd-path
raw| 1 | #compdef systemd-path |
| 2 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 3 | |
| 4 | typeset -A sdpath=( ${$(systemd-path)/:/} ) |
| 5 | _arguments -S \ |
| 6 | '(- *)'{-h,--help}'[Print help text and exit]' \ |
| 7 | '(- *)'{-v,--version}'[Print a version string and exit]' \ |
| 8 | '--suffix=[Append a suffix to the paths]:SUFFIX' \ |
| 9 | '*:pathname:compadd -k sdpath' |