]> git.ipfire.org Git - thirdparty/systemd.git/blame - shell-completion/zsh/_systemd-path
improve zsh completion (#32098)
[thirdparty/systemd.git] / shell-completion / zsh / _systemd-path
CommitLineData
cf18af82 1#compdef systemd-path
8f5bcd61 2# SPDX-License-Identifier: LGPL-2.1-or-later
cf18af82
RP
3
4typeset -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'