future-install-scripts/completion/zsh/_genfstab
Emil Velikov a9768a0c45 zsh: genfstab bring it up-to date
Add the -f(ilter) and -t(ag) options. The latter being mutually
exclusive with -L/-U.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-03-26 17:13:06 +01:00

14 lines
418 B
Plaintext

#compdef genfstab
local -a args=(
'(-h --help)'{-h,--help}'[display help]'
'-p[Avoid printing pseudofs mounts]'
'-f[Restrict output to mountpoints matching the prefix FILTER]'
'(-U -L)-t[Use TAG for source identifiers]:tag:(LABEL UUID PARTLABEL PARTUUID)'
'(-U -t)-L[Use labels for source identifiers]'
'(-L -t)-U[Use UUIDs for source identifiers]'
':*:_path_files -/'
)
_arguments $args