mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-18 22:05:25 -05:00
14 lines
467 B
Text
14 lines
467 B
Text
#compdef foot
|
|
|
|
_arguments \
|
|
-s \
|
|
'(-v --version)'{-v,--version}'[show the version number and quit]' \
|
|
'(-h --help)'{-h,--help}'[show help message and quit]' \
|
|
'(-f --font)'{-f,--font}'[font name and style in fontconfig format (monospace)]:font:->fonts' \
|
|
'(-g --geometry)'{-g,--geometry}'[window WIDTHxHEIGHT, in pixels (84x24 cells)]'
|
|
|
|
case "${state}" in
|
|
fonts)
|
|
_values 'font families' $(fc-list : family | tr -d ' ')
|
|
;;
|
|
esac
|