Skip to content

Commit

Permalink
completion: groups/numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
crpb committed Mar 16, 2024
1 parent 0c6c7d2 commit 61c1f84
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions completion/zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

# zsh completion for ubanner

_arguments -s -S \
{-h,--help}'[show help]' \
'--version[show version information and exit]' \
'--list-fonts[print list of available font faces]' \
_arguments -S \
'--trim[trim leading/trailing empty lines]' \
{-f,--font}'[use this fontface]:fontname:->fonts' \
{-s,--font-size}'[font size in pixels (default: 28)]' \
{-S,--full-screen}'[max font size to fit terminal window]'
+ '(fs)' \
{-s,--font-size}'[font size in pixels]: :_numbers -d28 -l14 -m280' \
{-S,--full-screen}'[max font size to fit terminal window]' \
+ '(excl)' \
{-h,--help}:'[show help]' \
'--version:[show version information and exit]' \
'--list-fonts:[print list of available font faces]'

case "$state" in
fonts)
Expand Down

0 comments on commit 61c1f84

Please sign in to comment.