1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-25 06:03:40 +03:00

10 lines
330 B
Plaintext
Raw Normal View History

2020-09-22 17:52:53 -07:00
#compdef systemd-path
# SPDX-License-Identifier: LGPL-2.1-or-later
2020-09-22 17:52:53 -07:00
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'