sofancy

fun unicode font tool

sofancy

_sofancy


#compdef sofancy
_sofancy() {
	local state
  _arguments -C \
		'(-f)'{-f,--font}'[pick a fancy font]:font:->font' \
		'(-tf)'{-tf,--titledfont}'[pick a fancy font display with name]:font:->font' \
		'(-t)'{-t,--titles}'[display font names]'\
		'(-r)'{-r,--random}'[randomized font]'
		case "$state" in
    (font)
        _values 'fonts' \
					'asian' \
					'asian2' \
					'bent' \
					'bolditalic' \
					'bold' \
					'circled' \
					'currency' \
					'cursive' \
					'doublestruck' \
					'flip' \
					'frakturbold' \
					'fraktur' \
					'futureAlien' \
					'greek' \
					'invertedsquares' \
					'italic' \
					'mirrorflip' \
					'mirror' \
					'mono' \
					'neon' \
					'squares' \
					'squiggle1' \
					'squiggle2' \
					'squiggle3' \
					'squiggle4' \
					'squiggle5' \
					'squiggle6' \
					'subscript' \
					'superscript' \
					'symbols' \
					'upperangle' \
					'upsidedown' \
					'wide'
    ;;
	esac
	return 0
}
_sofancy

Download

raw zip tar