about summary refs log tree commit diff
path: root/Completion/X/Type/_x_visual
blob: b2820844451291c11c059dd5dc34ef101e1ce500 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#autoload

local expl

# with the -b option, include `Best' in the matches
local best="${argv[(r)-b]:+Best}"
argv[(i)-b]=()

_wanted visuals expl visual compadd "$@" -M 'm:{a-zA-Z}={A-Za-z}' - \
    $best DirectColor TrueColor PseudoColor StaticColor GrayScale StaticGray