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