1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
systemd/shell-completion/zsh/_systemd-path

10 lines
330 B
Plaintext
Raw Normal View History

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