]>
Commit | Line | Data |
---|---|---|
cf18af82 | 1 | #compdef systemd-path |
8f5bcd61 | 2 | # SPDX-License-Identifier: LGPL-2.1-or-later |
cf18af82 RP |
3 | |
4 | typeset -A sdpath=( ${$(systemd-path)/:/} ) | |
5 | _arguments -S \ | |
20927c0e EK |
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' \ | |
cf18af82 | 9 | '*:pathname:compadd -k sdpath' |