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

# 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